We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// Splach screen code
@OverRide Widget build(BuildContext context) { SizeConfig().init(context); return Scaffold( body: DoubleBackToCloseApp( snackBar: MySnackBar.exitSnackbar(), child: const Body(), )); }
Home Screen Code
@OverRide Widget build(BuildContext context) { return Scaffold( body: const Body(), bottomNavigationBar: const CustomBottomNavBar(selectedMenu: MenuState.home), ); }
// Body() class @OverRide Widget build(BuildContext context) { loadPicFaster(context); return DefaultTabController( initialIndex: 1, length: 2, child: Scaffold( appBar: AppBar( title: myTabBar(), toolbarHeight: getProportionateScreenHeight(80), backgroundColor: appBarBgColor, automaticallyImplyLeading: false, // title: const Text('title'), //bottom: myTabBar(), ), body: const TabBarView( children: [ CarsSearch( bottomNavBarShow: false, appbarShow: false, adminPanel: false, showSpecialAqarsOnly: true, ), CarsSearch( bottomNavBarShow: false, appbarShow: false, adminPanel: false, ), ], ), ), );
}
the plugin working well when i remove the DefaultTabController , but keeping it the app not closing just showing blank white screen !! any ideas ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
// Splach screen code
@OverRide
Widget build(BuildContext context) {
SizeConfig().init(context);
return Scaffold(
body: DoubleBackToCloseApp(
snackBar: MySnackBar.exitSnackbar(),
child: const Body(),
));
}
Home Screen Code
@OverRide
Widget build(BuildContext context) {
return Scaffold(
body: const Body(),
bottomNavigationBar:
const CustomBottomNavBar(selectedMenu: MenuState.home),
);
}
// Body() class
@OverRide
Widget build(BuildContext context) {
loadPicFaster(context);
return DefaultTabController(
initialIndex: 1,
length: 2,
child: Scaffold(
appBar: AppBar(
title: myTabBar(),
toolbarHeight: getProportionateScreenHeight(80),
backgroundColor: appBarBgColor,
automaticallyImplyLeading: false,
// title: const Text('title'),
//bottom: myTabBar(),
),
body: const TabBarView(
children: [
CarsSearch(
bottomNavBarShow: false,
appbarShow: false,
adminPanel: false,
showSpecialAqarsOnly: true,
),
CarsSearch(
bottomNavBarShow: false,
appbarShow: false,
adminPanel: false,
),
],
),
),
);
}
the plugin working well when i remove the DefaultTabController , but keeping it the app not closing just showing blank white screen !!
any ideas ?
The text was updated successfully, but these errors were encountered: