GetDismissible constructor

const GetDismissible({
  1. bool? enabled,
  2. bool autoDismissible = false,
  3. bool autoDismiss = false,
  4. Duration timeout = const Duration(seconds: 6),
  5. DismissDirection direction = DismissDirection.down,
  6. void onDismissed(
    1. DismissDirection
    )?,
  7. required Widget child,
  8. Key? key,
})

Implementation

const GetDismissible({
  this.enabled,
  this.autoDismissible = false,
  this.autoDismiss = false,
  this.timeout = const Duration(seconds: 6),
  this.direction = DismissDirection.down,
  this.onDismissed,
  required this.child,
  Key? key,
}) : super(key: key);