MobileToolbarTheme constructor

const MobileToolbarTheme({
  1. Key? key,
  2. Color backgroundColor = Colors.white,
  3. Color iconColor = Colors.black,
  4. Color foregroundColor = const Color(0xff676666),
  5. Color clearDiagonalLineColor = const Color(0xffB3261E),
  6. Color itemHighlightColor = const Color(0xff1F71AC),
  7. Color itemOutlineColor = const Color(0xFFE3E3E3),
  8. Color tabBarSelectedBackgroundColor = const Color(0x23808080),
  9. Color tabBarSelectedForegroundColor = Colors.black,
  10. Color primaryColor = const Color(0xff1F71AC),
  11. Color onPrimaryColor = Colors.white,
  12. Color outlineColor = const Color(0xFFE3E3E3),
  13. double toolbarHeight = 48.0,
  14. double borderRadius = 6.0,
  15. double buttonHeight = 40.0,
  16. double buttonSpacing = 8.0,
  17. double buttonBorderWidth = 1.0,
  18. double buttonSelectedBorderWidth = 2.0,
  19. 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,
});