FormeDialogConfiguration constructor
const
FormeDialogConfiguration({
- bool barrierDismissible = true,
- Color? barrierColor = Colors.black54,
- String? barrierLabel,
- bool useSafeArea = true,
- Size sizeProvider(
- BuildContext context,
- MediaQueryData query
- FormeMaterialConfiguration materialConfiguration = const FormeMaterialConfiguration(shape: RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(10.0), bottom: Radius.circular(5.0)))),
- double? closeButtonSize,
- double? closeButtonRadius,
- IconData? closeButtonIcon,
- Color? closeButtonBackgroundColor,
- bool performSearchAfterOpen = true,
Implementation
const FormeDialogConfiguration({
this.barrierDismissible = true,
this.barrierColor = Colors.black54,
this.barrierLabel,
this.useSafeArea = true,
this.useRootNavigator = true,
this.sizeProvider,
this.materialConfiguration = const FormeMaterialConfiguration(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(10.0), bottom: Radius.circular(5.0)),
),
),
this.closeButtonSize,
this.closeButtonRadius,
this.closeButtonIcon,
this.closeButtonBackgroundColor,
this.performSearchAfterOpen = true,
});