|
|
|
@ -385,25 +385,13 @@ class SpaceDetailsContentState extends State<SpaceDetailsContent> {
|
|
|
|
return Opacity(
|
|
|
|
return Opacity(
|
|
|
|
opacity: b.enabled ? 1.0 : 0.5,
|
|
|
|
opacity: b.enabled ? 1.0 : 0.5,
|
|
|
|
child: ListTile(
|
|
|
|
child: ListTile(
|
|
|
|
title: Text(
|
|
|
|
title: Text(b.title),
|
|
|
|
b.title,
|
|
|
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
|
|
|
fontSize: 12.0,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
subtitle: b.description != null
|
|
|
|
subtitle: b.description != null
|
|
|
|
? Text(
|
|
|
|
? Text(b.description!)
|
|
|
|
b.description!,
|
|
|
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
|
|
|
fontSize: 8.0,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
leading: b.icon,
|
|
|
|
leading: b.icon,
|
|
|
|
onTap: b.enabled
|
|
|
|
onTap: b.enabled
|
|
|
|
? () {
|
|
|
|
? () => b.onPressed?.call()
|
|
|
|
b.onPressed?.call();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|