FDialog constructor
const
FDialog({
- required Widget builder(
- BuildContext context,
- FDialogStyle style
- FDialogStyleDelta style = const .context(),
- Clip clipBehavior = .none,
- Animation<
double> ? animation, - String? semanticsLabel,
- BoxConstraints constraints = const BoxConstraints(minWidth: 280, maxWidth: 560),
- bool resizeToAvoidInsets = true,
- Key? key,
Creates a FDialog with a custom builder.
CLI
To generate a layout for this widget:
dart run forui snippet create horizontal-card
See https://forui.dev/docs/widgets/data/card for other generatable layouts.
Implementation
const FDialog({
required this.builder,
this.style = const .context(),
this.clipBehavior = .none,
this.animation,
this.semanticsLabel,
this.constraints = const BoxConstraints(minWidth: 280, maxWidth: 560),
this.resizeToAvoidInsets = true,
super.key,
});