utils/dialog_text_style_encoder library
Functions
-
dialogStyleWithoutColor(
TextStyle? style) → TextStyle? -
stylewithout its colour, for a destructive button, which keeps the system red. -
encodeDialogTextStyle(
BuildContext context, {String? fontFamily, CNDialogTextStyle? title, CNDialogTextStyle? message, CNDialogTextStyle? action}) → Map< String, Object?> ? -
The
textStyleof a dialog's show payload, or null for the system look.