MobileToolbarV2 constructor
const
MobileToolbarV2({
- Key? key,
- Color backgroundColor = Colors.white,
- Color foregroundColor = const Color(0xff676666),
- Color iconColor = Colors.black,
- Color clearDiagonalLineColor = const Color(0xffB3261E),
- Color itemHighlightColor = const Color(0xff1F71AC),
- Color itemOutlineColor = const Color(0xFFE3E3E3),
- Color tabBarSelectedBackgroundColor = const Color(0x23808080),
- Color tabBarSelectedForegroundColor = Colors.black,
- Color primaryColor = const Color(0xff1F71AC),
- Color onPrimaryColor = Colors.white,
- Color outlineColor = const Color(0xFFE3E3E3),
- double toolbarHeight = 50.0,
- double borderRadius = 6.0,
- double buttonHeight = 40.0,
- double buttonSpacing = 8.0,
- double buttonBorderWidth = 1.0,
- double buttonSelectedBorderWidth = 2.0,
- required EditorState editorState,
- required List<
MobileToolbarItem> toolbarItems, - required Widget child,
Implementation
const MobileToolbarV2({
super.key,
this.backgroundColor = Colors.white,
this.foregroundColor = const Color(0xff676666),
this.iconColor = Colors.black,
this.clearDiagonalLineColor = const Color(0xffB3261E),
this.itemHighlightColor = const Color(0xff1F71AC),
this.itemOutlineColor = const Color(0xFFE3E3E3),
this.tabBarSelectedBackgroundColor = const Color(0x23808080),
this.tabBarSelectedForegroundColor = Colors.black,
this.primaryColor = const Color(0xff1F71AC),
this.onPrimaryColor = Colors.white,
this.outlineColor = const Color(0xFFE3E3E3),
this.toolbarHeight = 50.0,
this.borderRadius = 6.0,
this.buttonHeight = 40.0,
this.buttonSpacing = 8.0,
this.buttonBorderWidth = 1.0,
this.buttonSelectedBorderWidth = 2.0,
required this.editorState,
required this.toolbarItems,
required this.child,
});