NavigationPaneSize class
Configure the size of the pane in its various mode.
NavigationView(
pane: NavigationPane(
size: NavigationPaneSize(
openWidth: MediaQuery.sizeOf(context).width / 5,
openMinWidth: 250,
openMaxWidth: 320,
),
),
)
See also:
- NavigationPane, which this configures the size of
- NavigationView, used to display NavigationPanes
- Mixed-in types
Constructors
-
const
Properties
- compactWidth → double?
-
The width of the pane when it's in compact mode.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- headerHeight → double?
-
The height of the header in NavigationPane.
final
- openMaxWidth → double?
-
The maximum width of the pane when it's open.
final
- openMinWidth → double?
-
The minimum width of the pane when it's open.
final
- openPaneWidth → double
-
Gets the open pane width with constraints applied.
no setter
- openWidth → double?
-
The width of the pane when it's open.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topHeight → double?
-
The height of the pane when it's in top mode.
final
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override