LiquidToggleBar constructor
LiquidToggleBar({
- required List<
String> tabsNames, - Color backgroundColor = Colors.grey,
- Color selectedTabColor = Colors.orangeAccent,
- Color tabColor = Colors.orange,
- Color selectedTextColor = Colors.white,
- Color textColor = Colors.white,
- required dynamic onSelectionUpdated(),
- double borderRadius = 12,
- double height = 30,
- double fontSize = 15,
- 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});