mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
formatted all files.
This commit is contained in:
@ -11,8 +11,8 @@ class ConditionToggle extends StatelessWidget {
|
||||
super.key,
|
||||
});
|
||||
|
||||
static const _conditions = ["<", "==", ">"];
|
||||
static const _icons = [
|
||||
static const _conditions = ['<', '==', '>'];
|
||||
static const List<IconData> _icons = [
|
||||
Icons.chevron_left,
|
||||
Icons.drag_handle,
|
||||
Icons.chevron_right
|
||||
@ -20,13 +20,13 @@ class ConditionToggle extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final selectedIndex = _conditions.indexOf(currentCondition ?? "==");
|
||||
final selectedIndex = _conditions.indexOf(currentCondition ?? '==');
|
||||
|
||||
return Container(
|
||||
height: 30,
|
||||
width: MediaQuery.of(context).size.width * 0.1,
|
||||
decoration: BoxDecoration(
|
||||
color: ColorsManager.softGray.withOpacity(0.5),
|
||||
color: ColorsManager.softGray.withValues(alpha: 0.5),
|
||||
borderRadius: BorderRadius.circular(50),
|
||||
),
|
||||
clipBehavior: Clip.antiAlias,
|
||||
|
Reference in New Issue
Block a user