structure widget folder
parent
669e7032c1
commit
00ae7ae860
|
@ -1,9 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/workout_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/workout_view.dart';
|
||||
|
||||
import '../widgets/view_form_page.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/workout_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/workout_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/view_form_page.dart';
|
||||
|
||||
class IntervalTimerPage extends StatelessWidget {
|
||||
const IntervalTimerPage({super.key});
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/mood_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/mood_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form_page.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/mood_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/mood_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/view_form_page.dart';
|
||||
|
||||
class MoodPage extends StatelessWidget {
|
||||
const MoodPage({super.key});
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/relapse_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/relapse_view.dart';
|
||||
import '../widgets/view_form_page.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/relapse_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/relapse_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/view_form_page.dart';
|
||||
|
||||
class RelapsePage extends StatelessWidget {
|
||||
const RelapsePage({super.key});
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/sleep_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/sleep_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form_page.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/sleep_form.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/sleep_view.dart';
|
||||
import 'package:smoke_cess_app/widgets/view_form/view_form_page.dart';
|
||||
|
||||
class SleepPage extends StatelessWidget {
|
||||
const SleepPage({super.key});
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../providers/audio_provider.dart';
|
||||
import '../../providers/audio_provider.dart';
|
||||
|
||||
class MuteButton extends StatelessWidget {
|
||||
const MuteButton({super.key});
|
|
@ -2,8 +2,8 @@ import 'package:flutter/material.dart';
|
|||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/providers/timer_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/timer_widget.dart';
|
||||
import '../services/date_service.dart';
|
||||
import '../services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/services/date_service.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
|
||||
void showTaskDonePopup(BuildContext context, Pages page) async {
|
||||
Duration duration = await getTimeTill(page);
|
|
@ -3,11 +3,10 @@ import 'package:provider/provider.dart';
|
|||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/slider.dart';
|
||||
import 'package:smoke_cess_app/widgets/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/buttons/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/text_formfield.dart';
|
||||
|
||||
import '../providers/input_provider.dart';
|
||||
import 'elevated_card.dart';
|
||||
import 'package:smoke_cess_app/providers/input_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/elevated_card.dart';
|
||||
|
||||
class MoodForm extends StatelessWidget {
|
||||
const MoodForm({super.key});
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:syncfusion_flutter_charts/charts.dart';
|
||||
import '../models/mood.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/models/mood.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
|
||||
class MoodView extends StatelessWidget {
|
||||
const MoodView({super.key});
|
|
@ -2,12 +2,12 @@ import 'package:flutter/material.dart';
|
|||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/drop_down.dart';
|
||||
import 'package:smoke_cess_app/widgets/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/buttons/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/text_formfield.dart';
|
||||
import '../providers/input_provider.dart';
|
||||
import '../providers/settings_provider.dart';
|
||||
import '../services/pages_service.dart';
|
||||
import 'elevated_card.dart';
|
||||
import 'package:smoke_cess_app/providers/input_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/settings_provider.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/elevated_card.dart';
|
||||
|
||||
class RelapseForm extends StatelessWidget {
|
||||
const RelapseForm({super.key});
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
|
||||
class RelapseView extends StatelessWidget {
|
||||
const RelapseView({super.key});
|
|
@ -3,12 +3,12 @@ import 'package:provider/provider.dart';
|
|||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/elevated_card.dart';
|
||||
import 'package:smoke_cess_app/widgets/slider.dart';
|
||||
import 'package:smoke_cess_app/widgets/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/buttons/submit_form_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/text_formfield.dart';
|
||||
import 'package:smoke_cess_app/widgets/timepicker.dart';
|
||||
|
||||
import '../providers/input_provider.dart';
|
||||
import '../services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/providers/input_provider.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
|
||||
class SleepForm extends StatelessWidget {
|
||||
const SleepForm({Key? key}) : super(key: key);
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/models/sleep.dart';
|
||||
import 'package:syncfusion_flutter_charts/charts.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
|
||||
class SleepView extends StatelessWidget {
|
||||
const SleepView({super.key});
|
|
@ -1,11 +1,11 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/round_button_widget.dart';
|
||||
import '../providers/input_provider.dart';
|
||||
import '../providers/page_provider.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import 'popup_for_task_done.dart';
|
||||
import 'package:smoke_cess_app/widgets/buttons/round_button_widget.dart';
|
||||
import 'package:smoke_cess_app/providers/input_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/page_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/popup/popup_for_task_done.dart';
|
||||
|
||||
class ViewFormPage extends StatelessWidget {
|
||||
final Widget form;
|
|
@ -1,10 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/providers/audio_provider.dart';
|
||||
import '../providers/timer_provider.dart';
|
||||
import '../providers/workout_provider.dart';
|
||||
import 'mute_button.dart';
|
||||
import 'workout_timer_widget.dart';
|
||||
import 'package:smoke_cess_app/providers/timer_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/workout_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/buttons/mute_button.dart';
|
||||
import 'package:smoke_cess_app/widgets/workout_timer_widget.dart';
|
||||
|
||||
class WorkoutForm extends StatelessWidget {
|
||||
WorkoutForm({super.key});
|
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:provider/provider.dart';
|
||||
import 'package:smoke_cess_app/models/workout.dart';
|
||||
import 'package:syncfusion_flutter_charts/charts.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
|
||||
class WorkoutView extends StatelessWidget {
|
||||
const WorkoutView({super.key});
|
|
@ -4,13 +4,13 @@ import 'package:awesome_dialog/awesome_dialog.dart';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
import '../providers/page_provider.dart';
|
||||
import '../providers/tasks_provider.dart';
|
||||
import '../providers/workout_provider.dart';
|
||||
import '../services/pages_service.dart';
|
||||
import '../widgets/timer_widget.dart';
|
||||
import '../providers/timer_provider.dart';
|
||||
import 'popup_for_start_and_stop.dart';
|
||||
import 'package:smoke_cess_app/providers/page_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/tasks_provider.dart';
|
||||
import 'package:smoke_cess_app/providers/workout_provider.dart';
|
||||
import 'package:smoke_cess_app/services/pages_service.dart';
|
||||
import 'package:smoke_cess_app/widgets/timer_widget.dart';
|
||||
import 'package:smoke_cess_app/providers/timer_provider.dart';
|
||||
import 'package:smoke_cess_app/widgets/popup/popup_for_start_and_stop.dart';
|
||||
|
||||
class WorkoutTimerWidget extends StatelessWidget {
|
||||
const WorkoutTimerWidget({super.key});
|
||||
|
|
Loading…
Reference in New Issue