2023-02-14 14:02:26 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2023-02-26 23:30:00 +01:00
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
import 'package:smoke_cess_app/widgets/relapse_form.dart';
|
|
|
|
import '../providers/input_provider.dart';
|
2023-02-14 14:02:26 +01:00
|
|
|
|
|
|
|
class RelapsePage extends StatelessWidget {
|
|
|
|
const RelapsePage({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2023-02-26 23:30:00 +01:00
|
|
|
return Center(
|
|
|
|
child: ChangeNotifierProvider(
|
|
|
|
create: (context) => InputProvider(),
|
|
|
|
child: const RelapseForm(),
|
|
|
|
));
|
2023-02-14 14:02:26 +01:00
|
|
|
}
|
|
|
|
}
|