IndoorLevelBar constructor
const
IndoorLevelBar({
- Key? key,
- required Map<
int, String?> indoorLevels, - required OnChange onChange,
- double width = 30,
- 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)),
- int initialLevel = 0,
Implementation
const IndoorLevelBar({
Key? key,
required this.indoorLevels,
required this.onChange,
this.width = 30,
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.initialLevel = 0,
}) : super(key: key);