Tab constructor

const Tab({
  1. Key? key,
  2. Widget? icon = const FlutterLogo(),
  3. required Widget text,
  4. IconData? closeIcon = FluentIcons.close,
  5. VoidCallback? onClosed,
  6. String? semanticLabel,
})

Implementation

const Tab({
  Key? key,
  this.icon = const FlutterLogo(),
  required this.text,
  this.closeIcon = FluentIcons.close,
  this.onClosed,
  this.semanticLabel,
});