Skip to content

Commit

Permalink
Add search app bar (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoelBiju committed Dec 29, 2022
1 parent be2a6ad commit 5d0532c
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions mjssa_digital_library/lib/screens/search_screen.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
import 'package:flutter/material.dart';

class SearchScreen extends StatelessWidget {
class SearchScreen extends StatefulWidget {
const SearchScreen({super.key});

@override
State<SearchScreen> createState() => _SearchScreenState();
}

class _SearchScreenState extends State<SearchScreen> {

@override
Widget build(BuildContext context) {
return const Center(
child: Text(
'Search',
style: TextStyle(
fontSize: 30, fontWeight: FontWeight.bold, color: Colors.white),
));
return Scaffold(
appBar: AppBar(
title: const Text(
'Search'
),
),
);
}
}

0 comments on commit 5d0532c

Please sign in to comment.