Advertisement
FahimHoque

Home page

Dec 13th, 2021
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.78 KB | None | 0 0
  1.   @override
  2.   Widget build(BuildContext context) {
  3.     return Scaffold(
  4.       drawer: CustomNavigationDrawer(),
  5.       appBar: AppBar(
  6.         backgroundColor: Colors.white,
  7.         elevation: 2,
  8.         title: AppLogoSmall(),
  9.         centerTitle: true,
  10.         leading: Builder(
  11.           builder: (BuildContext context) {
  12.             return _buildDrawerButton(context);
  13.           },
  14.         ),
  15.         actions: <Widget>[
  16.           CustomSearchButton(
  17.             greyBackground: false,
  18.             onPressed: () {
  19.               openSearchPage(context);
  20.             },
  21.           )
  22.         ],
  23.         iconTheme: IconThemeData(
  24.           color: Colors.black,
  25.         ),
  26.       ),
  27.       body: SingleChildScrollView(
  28.         child: _buildItems(context),
  29.       ),
  30.     );
  31.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement