StyleMenuBar constructor

const StyleMenuBar({
  1. Key? key,
  2. required StyleMenu styleMenu,
  3. required OnStyleChange onChange,
  4. double width = 140,
  5. double itemHeight = 45,
  6. int maxVisibleItems = 5,
  7. Color fillColor = Colors.white,
  8. Color activeColor = Colors.blue,
  9. double elevation = 2,
  10. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(20)),
  11. String? initialLayerId,
  12. String? lang,
})

Implementation

const StyleMenuBar({
  super.key,
  required this.styleMenu,
  required this.onChange,
  this.width = 140,
  this.itemHeight = 45,
  this.maxVisibleItems = 5,
  this.fillColor = Colors.white,
  this.activeColor = Colors.blue,
  this.elevation = 2,
  this.borderRadius = const BorderRadius.all(Radius.circular(20)),
  this.initialLayerId,
  this.lang,
});