fromRoute<T> static method
Implementation
static LaamsPage<T> fromRoute<T>(LaamsRoute route, Widget child) {
return LaamsPage<T>._(
key: ValueKey(route.name),
name: route.name,
animationType: route.animationType ?? AnimationType.none,
animationDuration: route.animationDuration ?? 300,
arguments: route.arguments,
child: child,
);
}