Closed
Description
Steps to Reproduce
- Execute
flutter run
on the code sample
Expected results:
Normal cupertino iOS dialog action button
Actual results:
Bad render of cupertino iOS dialog action button
Code sample
Future<void> changeLanguage() async {
return showDialog<void>(
context: context,
barrierDismissible: false,
builder: (BuildContext context) {
return CupertinoAlertDialog(
content: SingleChildScrollView(
child: ListBody(
children: <Widget>[
Text(
'set_app_language'.tr(),
style: const TextStyle(
fontWeight: FontWeight.bold,
fontSize: 14,
),
),
const SizedBox(height: 8),
Text('app_language_title'.tr()),
const SizedBox(height: 16),
Text('app_language_body'.tr()),
],
),
),
actions: <Widget>[
CupertinoDialogAction(
isDefaultAction: true,
child: Text('open_settings'.tr()),
onPressed: () {
openAppSettings();
},
),
CupertinoDialogAction(
child: Text(
'cancel'.tr(),
),
onPressed: () async {
Navigator.of(context).pop();
},
),
],
);
},
);
}
Logs
No errors at all using --verbose
Analyzing flutter_app...
No issues found! (ran in 4.1s)
stable channel:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.3.1 21E258 darwin-x64, locale
en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
master channel:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2592, on macOS 12.3.1 21E258 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listUI glitches reported at the engine/skia or impeller rendering levelImpeller rendering backend issues and features requestsflutter/engine repository. See also e: labels.Found to occur in 3.4The issue has been confirmed reproducible and is ready to work onIssue is closed as already fixed in a newer version