Nautics constructor
const
Nautics({
- Key? key,
- required List<
TabItem> children, - required ValueChanged<
int> onChange, - int initialIndex = 0,
- Widget? header,
- Color? nauticsColor,
- Color? selectedColor,
- Color? unSelectedColor,
- 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: 12),
- Widget? unSelectedTrailingIcon = const Icon(CupertinoIcons.arrow_up_arrow_down, size: 12),
Implementation
const Nautics({
Key? key,
required this.children,
required this.onChange,
this.initialIndex = 0,
this.header,
this.footer,
this.nauticsColor,
this.selectedColor,
this.unSelectedColor,
this.collapsedNauticsDecoration,
this.expandedNauticsDecoration,
this.collapsedWidth = 60,
this.childIndentation = 5,
this.expandedWidth = 250,
this.isCollapsed = true,
this.isFloating = true,
this.isConvertible = true,
this.crossAxisAlignmentCollapsedForm = CrossAxisAlignment.center,
this.crossAxisAlignmentExpandedForm = CrossAxisAlignment.center,
this.mainAxisAlignmentCollapsedForm = MainAxisAlignment.start,
this.mainAxisAlignmentExpandedForm = MainAxisAlignment.start,
this.selectedTrailingIcon =
const Icon(CupertinoIcons.arrow_up_arrow_down, size: 12),
this.unSelectedTrailingIcon =
const Icon(CupertinoIcons.arrow_up_arrow_down, size: 12),
}) : super(key: key);