SILComingSoonPage constructor
SILComingSoonPage({})
Implementation
SILComingSoonPage(
{Key? key,
required this.title,
required this.description,
required this.comingSoonText,
this.svgPath,
this.imagePath,
this.showAppbar = false,
this.appBar,
this.showBottomNavigationBar = false,
this.bottomNavigationBar,
this.isTabletWithDrawer = false})
: assert(() {
if (showAppbar && appBar == null) {
throw Exception('appBar should not be null if showAppBar is true');
}
return true;
}()),
assert(() {
if (showBottomNavigationBar && appBar == null) {
throw Exception(
'bottomNavigationBar should not be null if showBottomNavigationBar is true');
}
return true;
}()),
super(key: key);