show method

void show(
  1. BuildContext context,
  2. Widget child, {
  3. bool? rootNavigator,
  4. int duration = 300,
  5. int keepDuration = 3 * 1000,
  6. double topOffset = 40,
  7. bool dismissDirectly = false,
  8. bool disableDrag = false,
})

Implementation

void show(
  BuildContext context,
  Widget child, {
  bool? rootNavigator,
  int duration = 300,
  int keepDuration = 3 * 1000,
  double topOffset = 40,
  bool dismissDirectly = false,
  bool disableDrag = false,
}) {
  _createView(
    child,
    context,
    rootNavigator,
    duration,
    keepDuration,
    topOffset,
    dismissDirectly,
    disableDrag,
  );
}