You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CupertinoDialogAction.isDefaultAction is a misleading name #32005
I propose a constructor like this Inspired to LKAlertController library for iOS.
constCupertinoDialogAction({
VoidCallback onPressed,
ActionStyle style =ActionStyle.Default,
TextStyle textStyle,
bool preferredAction =false, // this will bold the text in the child@requiredWidget child,
})
with the enum:
enumActionStyle {
/// Apply the default style to the action’s button.Default,
/// Apply a style that indicates the action cancels the operation and leaves things unchanged.Cancel,
/// Apply a style that indicates the action might change or delete data.Destructive,
}
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
riccardoratta commentedon May 3, 2019
I propose a constructor like this Inspired to LKAlertController library for iOS.
with the enum:
github-actions commentedon Aug 29, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.