schedule for one gang and two gang and three gange

This commit is contained in:
mohammad
2024-09-18 13:19:43 +03:00
parent 740ca4e4ba
commit b7f59902cd
6 changed files with 1 additions and 23 deletions
@@ -8,7 +8,6 @@ import 'package:syncrow_app/features/devices/bloc/one_gang_bloc/one_gang_event.d
import 'package:syncrow_app/features/devices/bloc/one_gang_bloc/one_gang_state.dart';
import 'package:syncrow_app/features/devices/model/device_model.dart';
import 'package:syncrow_app/features/shared_widgets/create_schedule.dart';
import 'package:syncrow_app/features/shared_widgets/default_container.dart';
import 'package:syncrow_app/features/shared_widgets/default_scaffold.dart';
import 'package:syncrow_app/features/shared_widgets/schedule_list.dart';
import 'package:syncrow_app/features/shared_widgets/text_widgets/body_large.dart';
@@ -19,7 +18,6 @@ import 'package:syncrow_app/utils/resource_manager/color_manager.dart';
import 'package:syncrow_app/utils/resource_manager/font_manager.dart';
class TimerScheduleScreen extends StatelessWidget {
final DeviceModel device;
final String deviceCode;
@@ -111,15 +109,12 @@ class TimerScheduleScreen extends StatelessWidget {
oneGangBloc.toggleCreateSchedule();
}
oneGangBloc.toggleSelectedIndex(0);
}else{
oneGangBloc.toggleSelectedIndex(1);
}
},
indicatorColor: Colors.white, // Customize the indicator
dividerHeight: 0,
// indicatorWeight: MediaQuery.of(context).size.width,
// indicatorSize: ,
indicatorSize: TabBarIndicatorSize.tab,
indicator: const ShapeDecoration(
color: ColorsManager.slidingBlueColor,
@@ -158,7 +153,6 @@ class TimerScheduleScreen extends StatelessWidget {
),
],
),
),
Expanded(
child: TabBarView(
@@ -118,8 +118,6 @@ class TimerScheduleScreen extends StatelessWidget {
},
indicatorColor: Colors.white, // Customize the indicator
dividerHeight: 0,
// indicatorWeight: MediaQuery.of(context).size.width,
// indicatorSize: ,
indicatorSize: TabBarIndicatorSize.tab,
indicator: const ShapeDecoration(
color: ColorsManager.slidingBlueColor,