diff --git a/lib/pages/setting/setting.dart b/lib/pages/setting/setting.dart index 0de7d9a..c084d7f 100644 --- a/lib/pages/setting/setting.dart +++ b/lib/pages/setting/setting.dart @@ -44,11 +44,24 @@ class SettingPage extends StatelessWidget { ), SizedBox(height: MediaQuery.of(context).size.width *0.05,), Container( - child: Text(driverName, style: TextStyle(fontSize: 40, fontWeight: FontWeight.w600, color: Colors.white),), + child: Text( + driverName, + style: TextStyle( + fontSize: 40, + fontWeight: FontWeight.w600, + color: Colors.white + ), + ), ), SizedBox(height: MediaQuery.of(context).size.width *0.05,), Container( - child: Text('ID: ${driverID.toString()}', style: TextStyle(fontSize: 20, color: Colors.white),), + child: Text( + 'ID: ${driverID.toString()}', + style: TextStyle( + fontSize: 20, + color: Colors.white + ), + ), ), ], ), @@ -73,7 +86,14 @@ class SettingPage extends StatelessWidget { color: Colors.white, ), SizedBox(width: MediaQuery.of(context).size.width *0.05,), - Text(TranslationBase.of(context).logout, style: TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 18),), + Text( + TranslationBase.of(context).logout, + style: TextStyle( + fontWeight: FontWeight.w500, + color: Colors.white, + fontSize: 18 + ), + ), ], ), ), @@ -104,8 +124,17 @@ class SettingPage extends StatelessWidget { size: 40, color: Colors.white, ), - SizedBox(width: MediaQuery.of(context).size.width * 0.05,), - Text(TranslationBase.of(context).settings, style: TextStyle(fontWeight: FontWeight.w500, color: Colors.white, fontSize: 18),), + SizedBox( + width: MediaQuery.of(context).size.width * 0.05, + ), + Text( + TranslationBase.of(context).settings, + style: TextStyle( + fontWeight: FontWeight.w500, + color: Colors.white, + fontSize: 18 + ), + ), ], ), ),