From fc743727c2caac74baec4703dcfcfa0daae9b438 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 5 Jun 2024 13:23:02 +0300 Subject: [PATCH] fix style! warning --- .../my_profile_screen/my_profile_screen.dart | 37 ++++++++++--------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/lib/presentation/profile/my_profile_screen/my_profile_screen.dart b/lib/presentation/profile/my_profile_screen/my_profile_screen.dart index 3bfb6cc8..52969177 100644 --- a/lib/presentation/profile/my_profile_screen/my_profile_screen.dart +++ b/lib/presentation/profile/my_profile_screen/my_profile_screen.dart @@ -70,23 +70,24 @@ class MyProfileScreen extends StatelessWidget { children: [ SizedBox(height: 30.v), Container( - padding: EdgeInsets.symmetric( - horizontal: 24.h, - vertical: 12.v, - ), - decoration: BoxDecoration( - color: Colors.white, - borderRadius: const BorderRadius.all(Radius.circular(12)), - boxShadow: [ - BoxShadow( - color: Colors.grey.withOpacity(0.5), - spreadRadius: 2, - blurRadius: 5, - offset: Offset(0, 3), - ), - ], - ), - child: _buildInfo(context, state)), + padding: EdgeInsets.symmetric( + horizontal: 24.h, + vertical: 12.v, + ), + decoration: BoxDecoration( + color: Colors.white, + borderRadius: const BorderRadius.all(Radius.circular(12)), + boxShadow: [ + BoxShadow( + color: Colors.grey.withOpacity(0.5), + spreadRadius: 2, + blurRadius: 5, + offset: Offset(0, 3), + ), + ], + ), + child: _buildInfo(context, state), + ), SizedBox(height: 15.v), Container( padding: EdgeInsets.symmetric( @@ -141,7 +142,7 @@ class MyProfileScreen extends StatelessWidget { } /// Section Widget - Widget _buildInfo(BuildContext context, MyProfileLoadedState state) { + _buildInfo(BuildContext context, MyProfileLoadedState state) { return Column( children: [ GestureDetector(