Tab constructor Null safety

const Tab(
  1. {Key? key,
  2. String? text,
  3. Widget? icon,
  4. EdgeInsets iconMargin,
  5. double? height,
  6. Widget? child}
)

Implementation

const factory Tab(
    {final Key? key,
    final String? text,
    final Widget? icon,
    final EdgeInsets iconMargin,
    final double? height,
    final Widget? child}) = _$Tab;