ControlBar constructor

const ControlBar({
  1. Key? key,
  2. String title = "",
  3. int selectedIndex = 0,
  4. Color textColor = Colors.orange,
  5. List<ControlBarItem> items = const [],
  6. void onTap(
    1. int
    )?,
})

Implementation

const ControlBar({
  Key? key,
  this.title = "",
  this.selectedIndex = 0,
  this.textColor = Colors.orange,
  this.items = const [],
  this.onTap,
}) : super(key: key);