YaruDetailPage class

Provides the recommended layout for YaruMasterDetailPage.pageBuilder.

This widget is similar to Scaffold with the exception that it wraps the appBar in a Hero to keep it in place at the top during page transitions.

Inheritance

Constructors

YaruDetailPage({Key? key, PreferredSizeWidget? appBar, Widget? body, Widget? floatingActionButton, FloatingActionButtonLocation? floatingActionButtonLocation, FloatingActionButtonAnimator? floatingActionButtonAnimator, List<Widget>? persistentFooterButtons, AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd, Widget? bottomNavigationBar, Widget? bottomSheet, Color? backgroundColor, bool extendBody = false, bool extendBodyBehindAppBar = false, Object? heroTag = _kYaruDetailPageHeroTag})
const

Properties

appBar PreferredSizeWidget?
See Scaffold.appBar.
final
backgroundColor Color?
See Scaffold.backgroundColor.
final
body Widget?
See Scaffold.body.
final
bottomNavigationBar Widget?
See Scaffold.bottomNavigationBar.
final
bottomSheet Widget?
See Scaffold.bottomSheet.
final
extendBody bool
See Scaffold.extendBody.
final
extendBodyBehindAppBar bool
See Scaffold.extendBodyBehindAppBar.
final
floatingActionButton Widget?
See Scaffold.floatingActionButton.
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
See Scaffold.floatingActionButtonAnimator.
final
floatingActionButtonLocation FloatingActionButtonLocation?
See Scaffold.floatingActionButtonLocation.
final
hashCode int
The hash code for this object.
no setterinherited
heroTag Object?
The tag to use for the Hero wrapping the appBar.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
persistentFooterAlignment AlignmentDirectional
See Scaffold.persistentFooterAlignment.
final
persistentFooterButtons List<Widget>?
See Scaffold.persistentFooterButtons.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
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