toWidget method

  1. @override
Widget toWidget(
  1. BuildContext context
)
override

Return the associated Widget

Implementation

@override
Widget toWidget(BuildContext context) => DefaultTabController(
      key: id == null ? null : Key(id!),
      length: length,
      initialIndex: initialIndex,
      child: child()!.toWidget(context),
    );