PlutoLayout class
PlutoLayout is a UI package that can configure a menu or tab view on each side.
Check the example code. https://github.com/bosskmk/pluto_layout/blob/main/example/lib/main.dart
Check out the web demo distributed with the example code. https://weblaze.dev/pluto_layout/build/web/#/
The body, top, left, right, bottom properties must pass a PlutoLayoutContainer as a child. body must be passed. The rest of the properties can be optionally passed.
You can configure tab views by passing PlutoLayoutTabs as children of PlutoLayoutContainer.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- PlutoLayout
Constructors
- PlutoLayout({PlutoLayoutContainer? top, PlutoLayoutContainer? left, PlutoLayoutContainer? right, PlutoLayoutContainer? bottom, required PlutoLayoutContainer body, PlutoLayoutShortcuts? shortcuts, Key? key})
-
const
Properties
- body → PlutoLayoutContainer
-
This is the basic body screen.
final
- bottom → PlutoLayoutContainer?
-
You can configure tab views or menus at the bottom.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- left → PlutoLayoutContainer?
-
You can configure tab views and menus on the left side.
final
- right → PlutoLayoutContainer?
-
You can configure tab views or menus on the right side.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortcuts → PlutoLayoutShortcuts?
-
Specific actions by user registration shortcut keys
final
- top → PlutoLayoutContainer?
-
You can configure tab views or menus at the top.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< PlutoLayout> -
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
Static Methods
-
getEventStreamController(
BuildContext context) → PlutoLayoutEventStreamController? - PlutoLayoutEventStreamController to receive or emit events of PlutoLayout.