Nautics class

Inheritance

Constructors

Nautics({Key? key, required List<TabItem> children, required ValueChanged<int> onChange, int initialIndex = 0, Widget? header, Widget? footer, Color? nauticsColor, Color? selectedColor, Color? unSelectedColor, Color? badgeColor, Decoration? collapsedNauticsDecoration, Decoration? expandedNauticsDecoration, double collapsedWidth = 60, double childIndentation = 5, double expandedWidth = 250, bool isCollapsed = true, bool? isFloating = true, bool isConvertible = true, CrossAxisAlignment crossAxisAlignmentCollapsedForm = CrossAxisAlignment.center, CrossAxisAlignment crossAxisAlignmentExpandedForm = CrossAxisAlignment.center, MainAxisAlignment mainAxisAlignmentCollapsedForm = MainAxisAlignment.start, MainAxisAlignment mainAxisAlignmentExpandedForm = MainAxisAlignment.start, Widget? selectedTrailingIcon = const Icon(CupertinoIcons.arrow_up_arrow_down, size: 14), Widget? unSelectedTrailingIcon = const Icon(CupertinoIcons.arrow_up_arrow_down, size: 14)})
const

Properties

badgeColor Color?
Color for Notification badge
final
childIndentation double
Space from left for the children udner a TabItem
final
children List<TabItem>
List of items that will show in Nautics sidebar
final
collapsedNauticsDecoration Decoration?
Collapsed Nautics Decoration.
final
collapsedWidth double
Width for collapsed form of Nautics SideBar, default = 60.
final
crossAxisAlignmentCollapsedForm CrossAxisAlignment
CrossAxisAlignment for collapsed form
final
crossAxisAlignmentExpandedForm CrossAxisAlignment
CrossAxisAlignment for expanded form
final
expandedNauticsDecoration Decoration?
Expanded Nautics Decoration.
final
expandedWidth double
Width for expanded form of Nautics SideBar, default = 200.
final
The widget that will be on bottom of Nautics SideBar
final
hashCode int
The hash code for this object.
no setterinherited
The widget that will be on starting of Nautics SideBar
final
initialIndex int
Initial index.
final
isCollapsed bool
Form of Nautics SideBar, default true, and works only for false value of isConvertible
final
isConvertible bool
Default true, Nautics SideBar expands and collapses on click.
final
isFloating bool?
The default value "true" will show floating Nautics SideBar.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mainAxisAlignmentCollapsedForm MainAxisAlignment
MainAxisAlignment for collapsed form
final
mainAxisAlignmentExpandedForm MainAxisAlignment
MainAxisAlignment for expanded form
final
nauticsColor Color?
Color for Nautics SideBar
final
onChange ValueChanged<int>
On index change.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color?
Color for selected item
final
selectedTrailingIcon Widget?
Selected icon for trailing on NauticsItemChildren tile.
final
unSelectedColor Color?
Color for un-selected item
final
unSelectedTrailingIcon Widget?
Un-selected icon for trailing on NauticsItemChildren tile.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() NauticsState
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