TabBarPlugin constructor

const TabBarPlugin({
  1. required List<String> datas,
  2. TextStyle? unSelectTextStyle,
  3. TextStyle? selectTextStyle,
  4. Color? backgroundColor = const Color(0xFF242424),
  5. Color? selectTextColor = PluginColorsDark.primary,
  6. Color? unSelectTextColor = const Color(0x80FFFFFF),
  7. Color? selectTextBackgroundColor = const Color(0x2EFF8E66),
  8. double? itemPaddingHorizontal = 12,
  9. dynamic onChange(
    1. int
    )?,
  10. TabBarPluginController? controller,
  11. 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);