FlutsterScaffold class

FlutsterScaffold wraps a Scaffold within a FlutsterTestRecorder.

Inheritance

Constructors

FlutsterScaffold({Key? key, String? name, PreferredSizeWidget? appBar, Widget? body, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, List<Widget>? persistentFooterButtons, Widget? drawer, DrawerCallback? onDrawerChanged, Widget? endDrawer, DrawerCallback? onEndDrawerChanged, Widget? bottomNavigationBar, 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, FlutsterTestRecord? flutsterTestRecord})
FlutsterScaffold is a Scaffold with a name and a flutsterTestRecord.

Properties

appBar PreferredSizeWidget?
appBar please refer to Scaffold.
final
backgroundColor Color?
backgroundColor please refer to Scaffold.
final
body Widget?
body please refer to Scaffold.
final
bottomNavigationBar Widget?
bottomNavigationBar please refer to Scaffold.
final
bottomSheet Widget?
bottomSheet please refer to Scaffold.
final
drawer Widget?
drawer please refer to Scaffold.
final
drawerDragStartBehavior DragStartBehavior
drawerDragStartBehavior please refer to Scaffold.
final
drawerEdgeDragWidth double?
drawerEdgeDragWidth please refer to Scaffold.
final
drawerEnableOpenDragGesture bool
drawerEnableOpenDragGesture please refer to Scaffold.
final
drawerScrimColor Color?
drawerScrimColor please refer to Scaffold.
final
endDrawer Widget?
endDrawer please refer to Scaffold.
final
endDrawerEnableOpenDragGesture bool
endDrawerEnableOpenDragGesture please refer to Scaffold.
final
extendBody bool
extendBody please refer to Scaffold.
final
extendBodyBehindAppBar bool
extendBodyBehindAppBar please refer to Scaffold.
final
floatingActionButton Widget?
floatingActionButton please refer to Scaffold.
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
floatingActionButtonAnimator please refer to Scaffold.
final
floatingActionButtonLocation FloatingActionButtonLocation?
floatingActionButtonLocation please refer to Scaffold.
final
flutsterTestRecord FlutsterTestRecord?
flutsterTestRecord if not given, the default is used.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
name String?
name helps identify the right FlutsterTestRecorderState while running.
final
onDrawerChanged DrawerCallback?
onDrawerChanged please refer to Scaffold.
final
onEndDrawerChanged DrawerCallback?
onEndDrawerChanged please refer to Scaffold.
final
persistentFooterButtons List<Widget>?
persistentFooterButtons please refer to Scaffold.
final
primary bool
primary please refer to Scaffold.
final
resizeToAvoidBottomInset bool?
resizeToAvoidBottomInset please refer to Scaffold.
final
restorationId String?
restorationId please refer to Scaffold.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
build as with any widget.
override
buildScaffold(BuildContext context) Widget
buildScaffold returns the wrapped scaffold.
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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