ResponsiveScaffold constructor
const
ResponsiveScaffold({
- Key? key,
- PreferredSizeWidget? appBar,
- Widget? body,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Widget? bottomSheet,
- Color? backgroundColor,
- bool? resizeToAvoidBottomInset,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- String? restorationId,
Responsive Scaffold
This scaffold will create an InheritedWidget with Spacing
Usage: Spacing.of(context)
final ScaledSize margin;
final ScaledSize padding;
final ScaledSize gutter;
final ScaledSize body;
final LayoutColumns layoutColumns;
Implementation
const ResponsiveScaffold({
Key? key,
super.appBar,
super.body,
super.floatingActionButton,
super.floatingActionButtonLocation,
super.floatingActionButtonAnimator,
super.persistentFooterButtons,
super.drawer,
super.onDrawerChanged,
super.endDrawer,
super.onEndDrawerChanged,
super.bottomNavigationBar,
super.bottomSheet,
super.backgroundColor,
super.resizeToAvoidBottomInset,
super.primary = true,
super.drawerDragStartBehavior = DragStartBehavior.start,
super.extendBody = false,
super.extendBodyBehindAppBar = false,
super.drawerScrimColor,
super.drawerEdgeDragWidth,
super.drawerEnableOpenDragGesture = true,
super.endDrawerEnableOpenDragGesture = true,
super.restorationId,
}) : super(key: key);