FlyView constructor

const FlyView({
  1. Key? key,
  2. String? path,
  3. required Map<List<String>, FlyRouteBuilder> routes,
  4. String? basePath,
  5. bool caseSensitive = false,
  6. Widget scaffoldBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
  7. Widget transitionBuilder(
    1. BuildContext context,
    2. Widget child,
    3. AnimationController animation,
    4. Animation<double> secondaryAnimation,
    )?,
  8. Duration transitionDuration = kDefaultDuration,
  9. Widget unknownPathBuilder(
    1. BuildContext context
    )?,
  10. void onRouteChanging(
    1. String path,
    2. Map<String, String> args, {
    3. String matchedRoute,
    })?,
})

Implementation

const FlyView({
  Key? key,
  this.path,
  required this.routes,
  this.basePath,
  this.caseSensitive = false,
  this.scaffoldBuilder,
  this.transitionBuilder,
  this.transitionDuration = kDefaultDuration,
  this.unknownPathBuilder,
  this.onRouteChanging,
}) : super(key: key);