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: [
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(