TabModel constructor
TabModel({
- required String label,
- int? flex,
- TextStyle? textStyle,
- VoidCallback? onTop,
- double? width,
- Widget? child,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(3),
- AlignmentGeometry? alignment,
- bool showLeft = false,
- bool showRight = false,
- bool showBottom = false,
- bool showTooltip = true,
Implementation
TabModel({
required this.label,
this.flex,
this.textStyle,
this.onTop,
this.width,
this.child,
this.padding = const EdgeInsets.all(3),
this.alignment,
this.showLeft = false,
this.showRight = false,
this.showBottom = false,
this.showTooltip = true,
});