|
|
|
|
@ -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<LandingPage> {
|
|
|
|
|
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<LandingPage> {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
centerTitle: true,
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
drawer: SafeArea(child: AppDrawer()),
|
|
|
|
|
extendBody: true,
|
|
|
|
|
@ -65,7 +66,6 @@ class _LandingPageState extends State<LandingPage> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
bottomNavigationBar: BottomNavBar(changeIndex: _changeCurrentTab),
|
|
|
|
|
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|