StyleMenuBar constructor
const
StyleMenuBar({
- Key? key,
- required StyleMenu styleMenu,
- required OnStyleChange onChange,
- double width = 140,
- double itemHeight = 45,
- int maxVisibleItems = 5,
- Color fillColor = Colors.white,
- Color activeColor = Colors.blue,
- double elevation = 2,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(20)),
- String? initialLayerId,
- 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,
});