utils/dialog_text_style_encoder library

Functions

dialogStyleWithoutColor(TextStyle? style) → TextStyle?
style without 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 textStyle of a dialog's show payload, or null for the system look.