show static method

Future<(double, double, double)?> show(
  1. BuildContext context, {
  2. required double lineHeight,
  3. required double spacingBefore,
  4. required double spacingAfter,
  5. 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,
    ),
  );
}