Skip to content

Commit

Permalink
fix trailing comma warning on settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
smart7even committed Aug 6, 2023
1 parent 79802a7 commit 03d5a59
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/feature/settings/widget/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ class _SettingsPageState extends State<SettingsPage> {
.saveLanguage('en');
}
},
children: List<Widget>.generate(_languageNames.length,
(int index) {
return Center(child: Text(_languageNames[index]));
}),
children: List<Widget>.generate(
_languageNames.length,
(int index) {
return Center(child: Text(_languageNames[index]));
},
),
),
),
// This displays the selected fruit name.
Expand Down

0 comments on commit 03d5a59

Please sign in to comment.