LiquidToggleBar constructor

LiquidToggleBar({
  1. required List<String> tabsNames,
  2. Color backgroundColor = Colors.grey,
  3. Color selectedTabColor = Colors.orangeAccent,
  4. Color tabColor = Colors.orange,
  5. Color selectedTextColor = Colors.white,
  6. Color textColor = Colors.white,
  7. required dynamic onSelectionUpdated(
    1. int
    ),
  8. double borderRadius = 12,
  9. double height = 30,
  10. double fontSize = 15,
  11. Key? key,
})

Implementation

LiquidToggleBar(
    {required this.tabsNames,
    this.backgroundColor = Colors.grey,
    this.selectedTabColor = Colors.orangeAccent,
    this.tabColor = Colors.orange,
    this.selectedTextColor = Colors.white,
    this.textColor = Colors.white,
    required this.onSelectionUpdated,
    this.borderRadius = 12,
    this.height = 30,
    this.fontSize = 15,
    this.key});