PlatformDialogActionText constructor
const
PlatformDialogActionText({})
Creates a new platform aware dialog action.
Translates to a TextButton
on material and a CupertinoDialogAction
on cupertino.
Default actions will have bold text but only on cupertino.
Destructive actions will be rendered in red text on cupertino and with a red filled background on material.
Implementation
const PlatformDialogActionText({
Key? key,
required this.text,
this.onPressed,
this.isDestructiveAction = false,
this.isDefaultAction = false,
}) : super(key: key);