DefaultKeyedTabController<K>.fromUnanimated constructor
const
DefaultKeyedTabController<K>.fromUnanimated ({
- Key? key,
- required Widget child,
- required UnanimatedKeyedTabController<
K> controller, - Duration? animationDuration,
- 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>;