SoloPuePage class
This widget can be used as a base for laying out your page. It is
similar to PuePage
, but doesn't modify a parent Pueprint
. It also
renders everything itself, without the help of a parent Pueprint
.
The basic components of this component are:
- app bar
- header
- body
- footer
This does not use Scaffold
under the hood
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SoloPuePage
Constructors
- SoloPuePage({PreferredSizeWidget? appBar, Widget? header, required Widget body, Widget? background, double? maxWidth, double? gutters})
Properties
- appBar → PreferredSizeWidget?
-
final
- background → Widget?
-
Background of the whole page. Use the PueBackground if you want
for a few small quality of life improvements
final
- body → Widget
-
Main body of the widget. Use the PueBody if you want
for a few small quality of life improvements
final
-
Footer of the page
final
- gutters → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Widget?
-
The header is sticky in the sense that if the body is a listview,
the header will always stay in view. Use the PueHeader if you want
for a few small quality of life improvements
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxWidth → double?
-
Max width of this page. This is useful for desktop view, and does not
affect the
appBar
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