fixes issue

This commit is contained in:
mohammad
2024-11-28 11:14:14 +03:00
parent 4e506652f8
commit d9ef6de71a
3 changed files with 62 additions and 64 deletions

View File

@ -242,17 +242,20 @@ class SceneItem extends StatelessWidget {
],
),
padding: const EdgeInsets.all(16),
child: Row(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Column(
crossAxisAlignment: CrossAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
if (!disablePlayButton)
Expanded(
child: Image.memory(
Image.memory(
icon,
height: 32,
width: 32,
@ -263,13 +266,14 @@ class SceneItem extends StatelessWidget {
width: 32,
fit: BoxFit.fill),
),
],
),
CircularCheckbox(
value: value,
onChanged: (isSelected) => onChanged(isSelected!),
),
],
),
Spacer(),
Expanded(
child: Container(
width: MediaQuery.of(context).size.width * 0.3,
child: Row(
children: [
BodyMedium(
text: title,
style: const TextStyle(
@ -280,18 +284,6 @@ class SceneItem extends StatelessWidget {
),
],
),
),
),
],
),
Expanded(
child: CircularCheckbox(
value: value,
onChanged: (isSelected) => onChanged(isSelected!),
),
),
],
),
);
}
}

View File

@ -213,7 +213,11 @@ class SceneItem extends StatelessWidget {
],
),
padding: const EdgeInsets.all(16),
child: Row(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@ -233,6 +237,14 @@ class SceneItem extends StatelessWidget {
width: 32,
fit: BoxFit.fill),
),
],
),
CircularCheckbox(
value: value,
onChanged: (isSelected) => onChanged(isSelected!),
),
],
),
BodyMedium(
text: title,
style: const TextStyle(
@ -243,12 +255,6 @@ class SceneItem extends StatelessWidget {
),
],
),
CircularCheckbox(
value: value,
onChanged: (isSelected) => onChanged(isSelected!),
),
],
),
);
}
}

View File

@ -5,7 +5,7 @@ description: This is the mobile application project, developed with Flutter for
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.9+42
version: 1.0.9+44
environment:
sdk: ">=3.0.6 <4.0.0"