Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/language_picker_dropdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ class _LanguagePickerDropdownState extends State<LanguagePickerDropdown> {
SizedBox(
width: 8.0,
),
Text("${language.name} (${language.isoCode})"),
Text("${language.name} (${language.isoCode})",
style: TextStyle(color: Colors.blue),
),
],
);
}
Expand Down
4 changes: 1 addition & 3 deletions lib/languages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ final List defaultLanguagesList = [
{"isoCode": "ch", "name": "Chamorro"},
{"isoCode": "ce", "name": "Chechen"},
{"isoCode": "ny", "name": "Chewa (Nyanja)"},
{"isoCode": "zh_Hans", "name": "Chinese (Simplified)"},
{"isoCode": "zh_Hant", "name": "Chinese (Traditional)"},
{"isoCode": "zh_Hans", "name": "Chinese"},
{"isoCode": "cu", "name": "Church Slavonic"},
{"isoCode": "cv", "name": "Chuvash"},
{"isoCode": "kw", "name": "Cornish"},
Expand All @@ -54,7 +53,6 @@ final List defaultLanguagesList = [
{"isoCode": "dv", "name": "Dhivehi"},
{"isoCode": "nl", "name": "Dutch"},
{"isoCode": "dz", "name": "Dzongkha"},
{"isoCode": "alpha2", "name": "English"},
{"isoCode": "en", "name": "English"},
{"isoCode": "eo", "name": "Esperanto"},
{"isoCode": "et", "name": "Estonian"},
Expand Down
6 changes: 3 additions & 3 deletions lib/utils/my_alert_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class MyAlertDialog<T> extends StatelessWidget {
new EdgeInsets.fromLTRB(
24.0, 24.0, 24.0, isDividerEnabled ? 20.0 : 0.0),
child: new DefaultTextStyle(
style: Theme.of(context).textTheme.title,
style: Theme.of(context).textTheme.headline6,
child: new Semantics(child: title, namesRoute: true),
),
));
Expand All @@ -127,7 +127,7 @@ class MyAlertDialog<T> extends StatelessWidget {
child: new Padding(
padding: contentPadding,
child: new DefaultTextStyle(
style: Theme.of(context).textTheme.subhead,
style: Theme.of(context).textTheme.subtitle1,
child: content,
),
),
Expand All @@ -136,7 +136,7 @@ class MyAlertDialog<T> extends StatelessWidget {

if (actions != null) {
if (isDividerEnabled) children.add(divider);
children.add(new ButtonTheme.bar(
children.add(new ButtonBarTheme(
child: new ButtonBar(
children: actions,
),
Expand Down