final
This commit is contained in:
@@ -15,7 +15,7 @@ import '../widgets/mobile/mobile_store_product_search.dart';
|
||||
class StoreProductSearch extends StatelessWidget {
|
||||
final Business business;
|
||||
|
||||
const StoreProductSearch(this.business, {Key key}) : super(key: key);
|
||||
const StoreProductSearch(this.business, {Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -31,15 +31,15 @@ class StoreProductSearch extends StatelessWidget {
|
||||
breadCrumbHeight: sizingInformation.deviceScreenType == DeviceScreenType.mobile ? null : Constants.BREADCRUMB_HEIGHT,
|
||||
),
|
||||
drawer: null,
|
||||
body: ScreenTypeLayout(
|
||||
mobile: MobileStoreProductSearch(business,),
|
||||
tablet: DesktopStoreProductSearch(business),
|
||||
desktop: DesktopStoreProductSearch(business),
|
||||
body: ScreenTypeLayout.builder(
|
||||
mobile: (context) => MobileStoreProductSearch(business,),
|
||||
tablet: (context) => DesktopStoreProductSearch(business),
|
||||
desktop: (context) => DesktopStoreProductSearch(business),
|
||||
),
|
||||
bottomNavigationBar: ScreenTypeLayout(
|
||||
mobile: MobileBottomNav(currentIndex: 1,),
|
||||
tablet: BottomNav(),
|
||||
desktop: BottomNav(),
|
||||
bottomNavigationBar: ScreenTypeLayout.builder(
|
||||
mobile: (context) => MobileBottomNav(currentIndex: 1,),
|
||||
tablet: (context) => BottomNav(),
|
||||
desktop: (context) => BottomNav(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user