RITLAlertAction constructor
const
RITLAlertAction({
- required String title,
- String id = "",
- TextStyle? style,
- RITLAlertActionType type = RITLAlertActionType.normal,
- dynamic onPressed()?,
构建方法
Implementation
const RITLAlertAction(
{required this.title,
this.id = "",
this.style,
this.type = RITLAlertActionType.normal,
this.onPressed});