PuePage class

Use this widget in for each flow page that is a descendant of a Pueprint.

This widget should only be used in flows, where a parent Pueprint widget controls the rendering of the appBar and footer. For single page scenarios where you want to layout your page with an appBar, header, body and footer, please see SoloPuePage

Inheritance

Constructors

PuePage({PreferredSizeWidget? appBar, PueFooter? footer, AppBarData? appBarData, Widget? header, required Widget body, FooterData? footerData, Widget? background})

Properties

appBar PreferredSizeWidget?
Specifying this parameter will completely override the appBar which is being rendered in the parent Pueprint widget. If this is specified, the data in the appBarData parameter will be useless.
final
appBarData AppBarData?
Define the appBar's data. By doing so, the app bar (which is being rendered in the parent Pueprint) will receive this data, and now
final
background Widget?
Override the current background on this specific page. You may use PueBackground or your own widget as the background.
final
body Widget
The main body of this page. If you would like extra features, use PueBody
final
Specifying this parameter will completely override the footer which is being rendered in the parent Pueprint widget. If this is specified, the data in the footerData parameter will be useless.
final
footerData FooterData?
final
hashCode int
The hash code for this object.
no setterinherited
This appears below the appBar and above the body. It is sticky, meaning that if the body is scrollable - no matter how far you scroll this header will still be visible. If you want the header to be scrollable, attach it in the body. For simple headers comprised of just main text and subtext, you can use PueHeader to eliminate boilerplate.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _PuePageState
Creates the mutable state for this widget at a given location in the tree.
override
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