2023-02-14 11:18:53 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2023-02-14 12:57:06 +01:00
|
|
|
import 'package:smoke_cess_app/screens/stopwatch_timer';
|
2023-02-14 11:18:53 +01:00
|
|
|
|
2023-02-14 12:57:06 +01:00
|
|
|
void main() => runApp(const MyApp());
|
2023-02-14 11:18:53 +01:00
|
|
|
|
|
|
|
class MyApp extends StatelessWidget {
|
|
|
|
const MyApp({super.key});
|
|
|
|
|
2023-02-14 12:57:06 +01:00
|
|
|
static const String _title = 'Smoking Cessation App';
|
2023-02-14 11:18:53 +01:00
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2023-02-14 12:57:06 +01:00
|
|
|
return MaterialApp(
|
|
|
|
title: _title,
|
|
|
|
home: Scaffold(
|
|
|
|
appBar: AppBar(
|
|
|
|
title: const Text(_title),
|
|
|
|
),
|
|
|
|
body: StopWatchTimerPage()),
|
2023-02-14 11:18:53 +01:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|