AdeptTabBar<T> constructor

const AdeptTabBar<T>({
  1. Key? key,
  2. bool isScrollable = false,
  3. required List<T> list,
  4. required String getText(
    1. T
    ),
  5. void onTap(
    1. int
    )?,
})

Constructor allows you to define styling and value properties.

Implementation

const AdeptTabBar(
    {super.key,
    this.isScrollable = false,
    required this.list,
    required this.getText,
    this.onTap});