mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 10:29:40 +00:00
fixes issue
This commit is contained in:
@ -242,53 +242,45 @@ class SceneItem extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.all(16),
|
padding: const EdgeInsets.all(16),
|
||||||
child: Row(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
if (!disablePlayButton)
|
Column(
|
||||||
Expanded(
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
child: Image.memory(
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
icon,
|
children: [
|
||||||
height: 32,
|
if (!disablePlayButton)
|
||||||
width: 32,
|
Image.memory(
|
||||||
fit: BoxFit.fill,
|
icon,
|
||||||
errorBuilder: (context, error, stackTrace) => Image.asset(
|
height: 32,
|
||||||
Assets.assetsIconsLogo,
|
width: 32,
|
||||||
height: 32,
|
fit: BoxFit.fill,
|
||||||
width: 32,
|
errorBuilder: (context, error, stackTrace) => Image.asset(
|
||||||
fit: BoxFit.fill),
|
Assets.assetsIconsLogo,
|
||||||
),
|
height: 32,
|
||||||
),
|
width: 32,
|
||||||
Spacer(),
|
fit: BoxFit.fill),
|
||||||
Expanded(
|
),
|
||||||
child: Container(
|
],
|
||||||
width: MediaQuery.of(context).size.width * 0.3,
|
),
|
||||||
child: Row(
|
CircularCheckbox(
|
||||||
children: [
|
value: value,
|
||||||
BodyMedium(
|
onChanged: (isSelected) => onChanged(isSelected!),
|
||||||
text: title,
|
|
||||||
style: const TextStyle(
|
|
||||||
fontSize: 17,
|
|
||||||
fontWeight: FontWeight.w700,
|
|
||||||
color: ColorsManager.secondaryTextColor),
|
|
||||||
textAlign: TextAlign.center,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Expanded(
|
BodyMedium(
|
||||||
child: CircularCheckbox(
|
text: title,
|
||||||
value: value,
|
style: const TextStyle(
|
||||||
onChanged: (isSelected) => onChanged(isSelected!),
|
fontSize: 17,
|
||||||
),
|
fontWeight: FontWeight.w700,
|
||||||
|
color: ColorsManager.secondaryTextColor),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -213,39 +213,45 @@ class SceneItem extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
padding: const EdgeInsets.all(16),
|
padding: const EdgeInsets.all(16),
|
||||||
child: Row(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
if (!disablePlayButton)
|
Column(
|
||||||
Image.memory(
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
icon,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
height: 32,
|
children: [
|
||||||
width: 32,
|
if (!disablePlayButton)
|
||||||
fit: BoxFit.fill,
|
Image.memory(
|
||||||
errorBuilder: (context, error, stackTrace) => Image.asset(
|
icon,
|
||||||
Assets.assetsIconsLogo,
|
|
||||||
height: 32,
|
height: 32,
|
||||||
width: 32,
|
width: 32,
|
||||||
fit: BoxFit.fill),
|
fit: BoxFit.fill,
|
||||||
),
|
errorBuilder: (context, error, stackTrace) => Image.asset(
|
||||||
BodyMedium(
|
Assets.assetsIconsLogo,
|
||||||
text: title,
|
height: 32,
|
||||||
style: const TextStyle(
|
width: 32,
|
||||||
fontSize: 17,
|
fit: BoxFit.fill),
|
||||||
fontWeight: FontWeight.w700,
|
),
|
||||||
color: ColorsManager.secondaryTextColor),
|
],
|
||||||
textAlign: TextAlign.center,
|
),
|
||||||
|
CircularCheckbox(
|
||||||
|
value: value,
|
||||||
|
onChanged: (isSelected) => onChanged(isSelected!),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
CircularCheckbox(
|
BodyMedium(
|
||||||
value: value,
|
text: title,
|
||||||
onChanged: (isSelected) => onChanged(isSelected!),
|
style: const TextStyle(
|
||||||
|
fontSize: 17,
|
||||||
|
fontWeight: FontWeight.w700,
|
||||||
|
color: ColorsManager.secondaryTextColor),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -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.
|
# 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
|
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:
|
environment:
|
||||||
sdk: ">=3.0.6 <4.0.0"
|
sdk: ">=3.0.6 <4.0.0"
|
||||||
|
Reference in New Issue
Block a user