show static method
Future<(double, double, double)?>
show(
- BuildContext context, {
- required double lineHeight,
- required double spacingBefore,
- required double spacingAfter,
- FluentEditorLabels? labels,
Shows the dialog and returns the applied values (null = cancelled).
Implementation
static Future<(double, double, double)?> show(
BuildContext context, {
required double lineHeight,
required double spacingBefore,
required double spacingAfter,
FluentEditorLabels? labels,
}) {
return showDialog<(double, double, double)?>(
context: context,
builder: (_) => ParagraphSpacingDialog(
initialLineHeight: lineHeight,
initialSpacingBefore: spacingBefore,
initialSpacingAfter: spacingAfter,
labels: labels,
),
);
}