IndoorLevelBar constructor

const IndoorLevelBar({
  1. Key? key,
  2. required Map<int, String?> indoorLevels,
  3. required OnChange onChange,
  4. double width = 30,
  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. 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);