DefaultKeyedTabController<K>.fromUnanimated constructor

const DefaultKeyedTabController<K>.fromUnanimated({
  1. Key? key,
  2. required Widget child,
  3. required UnanimatedKeyedTabController<K> controller,
  4. Duration? animationDuration,
  5. ValueChanged<K?>? onChanged,
})

Provides KeyedTabController that is linked to a given KeyedUnanimatedTabController controller.

If on sequential builds another controller is passed, the existing KeyedTabController will be preserved and linked to the new controller.

Implementation

const factory DefaultKeyedTabController.fromUnanimated({
  Key? key,
  required Widget child,
  required UnanimatedKeyedTabController<K> controller,
  Duration? animationDuration,
  ValueChanged<K?>? onChanged,
}) = DefaultKeyedTabControllerFromUnanimated<K>;