ScaffoldProperties class

Constructors

ScaffoldProperties({Color? backgroundColor, double? drawerEdgeDragWidth, bool drawerEnableOpenDragGesture = true, DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start, Color? drawerScrimColor, bool endDrawerEnableOpenDragGesture = true, bool extendBody = false, bool extendBodyBehindAppBar = false, FloatingActionButtonAnimator? floatingActionButtonAnimator, FloatingActionButtonLocation? floatingActionButtonLocation, bool primary = true, AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd, String? restorationId, bool? resizeToAvoidBottomInset})
const
ScaffoldProperties.fromContext(BuildContext context, {bool transparencyAppBar = false, bool transparencyNavigationBar = false})
factory

Properties

backgroundColor Color?
final
drawerDragStartBehavior DragStartBehavior
final
drawerEdgeDragWidth double?
final
drawerEnableOpenDragGesture bool
final
drawerScrimColor Color?
final
endDrawerEnableOpenDragGesture bool
final
extendBody bool
final
extendBodyBehindAppBar bool
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
final
floatingActionButtonLocation FloatingActionButtonLocation?
final
hashCode int
The hash code for this object.
no setterinherited
persistentFooterAlignment AlignmentDirectional
final
primary bool
final
resizeToAvoidBottomInset bool?
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

modify({Color? backgroundColor, double? drawerEdgeDragWidth, bool? drawerEnableOpenDragGesture, DragStartBehavior? drawerDragStartBehavior, Color? drawerScrimColor, bool? endDrawerEnableOpenDragGesture, bool? extendBody, bool? extendBodyBehindAppBar, FloatingActionButtonAnimator? floatingActionButtonAnimator, FloatingActionButtonLocation? floatingActionButtonLocation, bool? primary, AlignmentDirectional? persistentFooterAlignment, String? restorationId, bool? resizeToAvoidBottomInset}) ScaffoldProperties
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited