BlossomVerticalTabBar<T> constructor
const
BlossomVerticalTabBar<T> ({
- Key? key,
- required Color selectedColor,
- Color? dragColor,
- Color? stickyColor,
- Color? backgroundColor,
- Color? dividerColor,
- Color? shadowColor,
- Color? dragShadowColor,
- double width = 42,
- double sideBarWidth = 0,
- double tabBarMargin = 4,
- EdgeInsets margin = EdgeInsets.zero,
- Widget? sideBar,
- Color? sideBarColor,
- bool showSideBarOnOppositeSide = false,
- bool shiftOnDrag = false,
- Radius borderRadius = const Radius.circular(8.0),
- bool showIndicator = false,
- bool showIndicatorOnOppositeSide = false,
- bool applyIndicatorIndent = true,
- double indicatorThickness = 4.0,
- Color? indicatorColor,
- List<
Widget> actions = const [], - void onSecondaryTap(
- BlossomTab<
T>
- BlossomTab<
- required Widget tabBuilder(
- BuildContext context,
- BlossomTab<
T> tab, - bool isActive
- List<
Widget> tabActions(- BuildContext context,
- BlossomTab<
T> tab
Implementation
const BlossomVerticalTabBar({
Key? key,
required this.selectedColor,
this.dragColor,
this.stickyColor,
this.backgroundColor,
this.dividerColor,
this.shadowColor,
this.dragShadowColor,
this.width = 42,
this.sideBarWidth = 0,
this.tabBarMargin = 4,
this.margin = EdgeInsets.zero,
this.sideBar,
this.sideBarColor,
this.showSideBarOnOppositeSide = false,
this.shiftOnDrag = false,
this.borderRadius = const Radius.circular(8.0),
this.showIndicator = false,
this.showIndicatorOnOppositeSide = false,
this.applyIndicatorIndent = true,
this.indicatorThickness = 4.0,
this.indicatorColor,
this.actions = const [],
this.onSecondaryTap,
required this.tabBuilder,
this.tabActions,
}) : super(key: key);