AdaptiveModalDialog<T> constructor

const AdaptiveModalDialog<T>({
  1. required Widget title,
  2. required Widget content,
  3. required AdaptiveModalDialogAction primaryButton,
  4. AdaptiveModalDialogAction? secondaryButton,
  5. bool barrierDismissible = false,
  6. bool useRootNavigator = true,
  7. RouteSettings? routeSettings,
  8. String? barrierLabel,
})

Implementation

const AdaptiveModalDialog({
  required this.title,
  required this.content,
  required this.primaryButton,
  this.secondaryButton,
  this.barrierDismissible = false,
  this.useRootNavigator = true,
  this.routeSettings,
  this.barrierLabel,
});