SFTab constructor

const SFTab({
  1. Key? key,
  2. required List<Widget?> menu,
  3. Color? focusedColor,
  4. double? width,
  5. required double height,
  6. Color? backgroundColor,
  7. Color? borderColor,
  8. BorderSide? borderBottom,
  9. double borderWidth = 4.0,
  10. required dynamic onTap(
    1. int
    )?,
  11. ScrollPhysics? physics,
  12. TextStyle? menuTextStyle,
})

Implementation

const SFTab(
    {super.key,
    required this.menu,
    this.focusedColor,
    this.width,
    required this.height,
    this.backgroundColor,
    this.borderColor,
    this.borderBottom,
    this.borderWidth = 4.0,
    required this.onTap,
    this.physics,
    this.menuTextStyle});