MobileToolbarV2 constructor

const MobileToolbarV2({
  1. Key? key,
  2. Color backgroundColor = Colors.white,
  3. Color foregroundColor = const Color(0xff676666),
  4. Color iconColor = Colors.black,
  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 = 50.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 EditorState editorState,
  20. required List<MobileToolbarItem> toolbarItems,
  21. 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,
});