ScrollNavigation class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ScrollNavigation
Constructors
- It is a navigation that will allow you to scroll from right to left with gestures and also when pressing an item in the Nav Item.
Properties
- barStyle → NavigationBarStyle
-
Navigation bar style
final
- bodyStyle → NavigationBodyStyle
-
PageView and Scaffold style
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identiferStyle → NavigationIdentiferStyle
-
Identifier style
final
- initialPage → int
-
It is the initial page that will show. The value must match
with the existing indexes and the total number of Nav Items
final
-
items
→ List<
ScrollNavigationItem> -
They are the list of elements that the menu will have.
They must match the total number of pages.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxWillPopLocations → int
-
It is the maximum number of locations that will be stored before willPop is executed
final
-
pages
→ List<
Widget> -
Are the pages that the Scroll Page will have
final
-
pagesActionButtons
→ List<
Widget> ? -
They are the floating action buttons or Widgets that the pages will have.
To separate pages you can put: Widget, null, Widget
final
- physics → bool
-
When active, the indicator will move along with the scroll of the pages.
Of other way, it will only move when you change page.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showIdentifier → bool
-
It will show the identifier.
If false, the argument physics will be ignored
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → ScrollNavigationState -
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