TabBarPlugin constructor
const
TabBarPlugin({
- required List<
String> datas, - TextStyle? unSelectTextStyle,
- TextStyle? selectTextStyle,
- Color? backgroundColor = const Color(0xFF242424),
- Color? selectTextColor = PluginColorsDark.primary,
- Color? unSelectTextColor = const Color(0x80FFFFFF),
- Color? selectTextBackgroundColor = const Color(0x2EFF8E66),
- double? itemPaddingHorizontal = 12,
- dynamic onChange()?,
- TabBarPluginController? controller,
- Key? key,
Implementation
const TabBarPlugin(
{required this.datas,
this.unSelectTextStyle,
this.selectTextStyle,
this.backgroundColor = const Color(0xFF242424),
this.selectTextColor = PluginColorsDark.primary,
this.unSelectTextColor = const Color(0x80FFFFFF),
this.selectTextBackgroundColor = const Color(0x2EFF8E66),
this.itemPaddingHorizontal = 12,
this.onChange,
this.controller,
Key? key})
: super(key: key);