ScreenWidget constructor
ScreenWidget({
- Key? key,
- GlobalKey<
ScaffoldState> ? scaffoldKey, - bool showAppBar = false,
- bool isAccent = false,
- bool isStatic = false,
- bool isDefaultScaffold = false,
- String appBarText = '',
- PreferredSizeWidget? appBarWidget,
- EdgeInsetsGeometry? padding,
- Widget? child,
- List<
Widget> ? children, - Brightness? statusBarBrightness,
- Color? backgroundColor,
- SafeAreaConfig safeAreaConfig = const SafeAreaConfig(),
- Widget? floatingActionButton,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- CustomOverlay? errorOverlay,
- Widget? loaderWidget,
- Map<
String, CustomOverlay> ? overlayEvents, - List<
Widget> ? fixedOverlayWidgets, - Function? dispose,
Implementation
ScreenWidget({
Key? key,
this.scaffoldKey,
this.showAppBar = false,
this.isAccent = false,
this.isStatic = false,
this.isDefaultScaffold = false,
this.appBarText = '',
this.appBarWidget,
this.padding,
this.child,
this.children,
this.bottomNavigationBar,
this.statusBarBrightness,
this.backgroundColor,
this.safeAreaConfig = const SafeAreaConfig(),
this.floatingActionButton,
this.floatingActionButtonAnimator,
this.floatingActionButtonLocation,
this.errorOverlay,
this.loaderWidget,
this.overlayEvents,
this.fixedOverlayWidgets,
this.dispose,
}) : assert(child != null || children != null),
super(key: key);