components/alert library
Classes
- CNAlert
-
A native alert dialog:
UIAlertControlleron iOS,NSAlerton macOS. -
CNAlertAction<
T> - A single button in a CNAlert.
-
CNAlertResult<
T> - What a CNAlert reported back.
- CNAlertTextField
- One text input row inside a CNAlert.
Functions
-
debugBuildAlertPayload(
{required List< CNAlertAction< actions, String? title, String? message, List<Object?> >CNAlertTextField> textFields = const <CNAlertTextField>[], bool? isDark, Map<String, Object?> ? textStyle, bool? rtl}) → Map<String, Object?> - Builds the method channel payload for CNAlert.show.