You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SmartFit_Mobile/lib/View/main_tab/select_view.dart

63 lines
1.9 KiB

import 'package:smartfit_app_mobile/common_widget/round_button.dart';
//import 'package:smartfit_app_mobile/view/meal_planner/meal_planner_view.dart';
//import 'package:smartfit_app_mobile/view/workout_tracker/workout_tracker_view.dart';
import 'package:flutter/material.dart';
import 'package:smartfit_app_mobile/view/home/blank_view.dart';
//import '../sleep_tracker/sleep_tracker_view.dart';
class SelectView extends StatelessWidget {
const SelectView({super.key});
@override
Widget build(BuildContext context) {
// var media = MediaQuery.of(context).size;
return Scaffold(
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
RoundButton(
title: "Workout Tracker",
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const BlankView(),
),
);
}),
const SizedBox(height: 15,),
RoundButton(
title: "Meal Planner",
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const BlankView(),
),
);
}),
const SizedBox(height: 15,),
RoundButton(
title: "Sleep Tracker",
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const BlankView(),
),
);
})
],
),
),
);
}
}