diff --git a/lib/landing_page.dart b/lib/landing_page.dart index c934f6da..90cce786 100644 --- a/lib/landing_page.dart +++ b/lib/landing_page.dart @@ -9,6 +9,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:hexcolor/hexcolor.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; + class LandingPage extends StatefulWidget { @override _LandingPageState createState() => _LandingPageState(); @@ -38,7 +39,8 @@ class _LandingPageState extends State { elevation: 0, backgroundColor: Hexcolor('#515B5D'), textTheme: TextTheme( - headline6: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), + headline6: + TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), title: Text(getText(currentTab).toUpperCase()), leading: Builder( builder: (BuildContext context) { @@ -50,7 +52,6 @@ class _LandingPageState extends State { }, ), centerTitle: true, - ), drawer: SafeArea(child: AppDrawer()), extendBody: true, @@ -65,7 +66,6 @@ class _LandingPageState extends State { ], ), bottomNavigationBar: BottomNavBar(changeIndex: _changeCurrentTab), - ); }