fix style! warning

This commit is contained in:
mso7nueh
2024-06-05 13:23:02 +03:00
parent bd88d80034
commit fc743727c2

View File

@@ -70,23 +70,24 @@ class MyProfileScreen extends StatelessWidget {
children: [ children: [
SizedBox(height: 30.v), SizedBox(height: 30.v),
Container( Container(
padding: EdgeInsets.symmetric( padding: EdgeInsets.symmetric(
horizontal: 24.h, horizontal: 24.h,
vertical: 12.v, vertical: 12.v,
), ),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
borderRadius: const BorderRadius.all(Radius.circular(12)), borderRadius: const BorderRadius.all(Radius.circular(12)),
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
color: Colors.grey.withOpacity(0.5), color: Colors.grey.withOpacity(0.5),
spreadRadius: 2, spreadRadius: 2,
blurRadius: 5, blurRadius: 5,
offset: Offset(0, 3), offset: Offset(0, 3),
), ),
], ],
), ),
child: _buildInfo(context, state)), child: _buildInfo(context, state),
),
SizedBox(height: 15.v), SizedBox(height: 15.v),
Container( Container(
padding: EdgeInsets.symmetric( padding: EdgeInsets.symmetric(
@@ -141,7 +142,7 @@ class MyProfileScreen extends StatelessWidget {
} }
/// Section Widget /// Section Widget
Widget _buildInfo(BuildContext context, MyProfileLoadedState state) { _buildInfo(BuildContext context, MyProfileLoadedState state) {
return Column( return Column(
children: [ children: [
GestureDetector( GestureDetector(