DefaultBottomNavigationController.fromValue constructor
DefaultBottomNavigationController.fromValue(
- BottomNavigationValue value, {
- Key? key,
- Duration transitionDuration = const Duration(milliseconds: 300),
- required Widget child,
Implementation
DefaultBottomNavigationController.fromValue(
BottomNavigationValue value, {
Key? key,
this.transitionDuration = const Duration(milliseconds: 300),
required this.child,
}) : initialIndex = value.currentIndex,
super(key: key);