ListTab constructor

const ListTab({
  1. Widget? icon,
  2. required Widget label,
  3. BorderRadiusGeometry borderRadius = const BorderRadius.all(const Radius.circular(5.0)),
  4. Color activeBackgroundColor = Colors.blue,
  5. Color inactiveBackgroundColor = Colors.transparent,
  6. bool showIconOnList = false,
  7. Color borderColor = Colors.grey,
})

Create a new ListTab

Implementation

const ListTab({
  this.icon,
  required this.label,
  this.borderRadius = const BorderRadius.all(const Radius.circular(5.0)),
  this.activeBackgroundColor = Colors.blue,
  this.inactiveBackgroundColor = Colors.transparent,
  this.showIconOnList = false,
  this.borderColor = Colors.grey,
});