restructured the application

added .end files
switched to BLoC state-management
removed unnecessary helpers
initialized Scenes Page
This commit is contained in:
Mohammad Salameh
2024-02-15 14:00:09 +03:00
parent 16f47f744c
commit 1d18210158
79 changed files with 554 additions and 723 deletions
@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import 'package:syncrow_app/features/shared_widgets/default_text_button.dart';
class UserAgreementDialog extends StatelessWidget {
const UserAgreementDialog({
super.key,
});
@override
Widget build(BuildContext context) {
return AlertDialog(
elevation: 40,
title: const Text('User Agreement'),
content:
const Text('By using this app you agree to the terms and conditions'),
actions: [
DefaultTextButton(
text: 'I Agree',
onPressed: () {
Navigator.of(context).pop();
},
),
DefaultTextButton(
text: 'I Disagree',
onPressed: () => Navigator.of(context).pop(),
isSecondary: true,
),
],
);
}
}