We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a3cff commit 49b1aa4Copy full SHA for 49b1aa4
example/lib/pages/text_input_dialog_page.dart
@@ -10,6 +10,7 @@ class TextInputDialogPage extends StatelessWidget {
10
11
@override
12
Widget build(BuildContext context) {
13
+ final theme = Theme.of(context);
14
return Scaffold(
15
appBar: AppBar(
16
title: Text(pascalCaseFromRouteName(routeName)),
@@ -87,7 +88,9 @@ class TextInputDialogPage extends StatelessWidget {
87
88
hintText: 'Start with "F"',
89
retryTitle: 'Incorrect',
90
retryMessage: 'Retry?',
- retryOkLabel: 'Retry',
91
+ retryOkLabel: AdaptiveStyle.adaptive.isCupertinoStyle(theme)
92
+ ? 'Retry'
93
+ : 'RETRY',
94
);
95
print('ok: $ok');
96
if (!ok) {
0 commit comments