RITLAlertAction constructor

const RITLAlertAction({
  1. required String title,
  2. String id = "",
  3. TextStyle? style,
  4. RITLAlertActionType type = RITLAlertActionType.normal,
  5. dynamic onPressed(
    1. RITLAlert,
    2. RITLAlertAction
    )?,
})

构建方法

Implementation

const RITLAlertAction(
    {required this.title,
    this.id = "",
    this.style,
    this.type = RITLAlertActionType.normal,
    this.onPressed});