MobileToolbarTheme constructor
const
MobileToolbarTheme({
- Key? key,
- Color backgroundColor = Colors.white,
- Color iconColor = Colors.black,
- Color foregroundColor = const Color(0xff676666),
- 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 = 48.0,
- double borderRadius = 6.0,
- double buttonHeight = 40.0,
- double buttonSpacing = 8.0,
- double buttonBorderWidth = 1.0,
- double buttonSelectedBorderWidth = 2.0,
- required Widget child,
Implementation
const MobileToolbarTheme({
super.key,
this.backgroundColor = Colors.white,
this.iconColor = Colors.black,
this.foregroundColor = const Color(0xff676666),
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 = 48.0,
this.borderRadius = 6.0,
this.buttonHeight = 40.0,
this.buttonSpacing = 8.0,
this.buttonBorderWidth = 1.0,
this.buttonSelectedBorderWidth = 2.0,
required super.child,
});