This commit is contained in:
Digital Studium 2023-05-14 16:54:15 +03:00
parent f690aa8715
commit 45ab1aa2e4
3 changed files with 10 additions and 15 deletions

View File

@ -1,16 +1,11 @@
# yoga_timer
A new Flutter project.
Содержит два вида таймера: для занятий крия йогой и универсальный таймер.
## Getting Started
## Компиляция
```
flutter build apk
```
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
В результате появится файл `build/app/outputs/apk/release/app-release.apk`, который можно скачать на
Android-смартфон и установить.

View File

@ -13,7 +13,7 @@ class KriyaPage extends StatefulWidget {
}
class _KriyaPageState extends State<KriyaPage> {
Duration kriyaDuration = const Duration(minutes: 1, seconds: 15);
Duration kriyaDuration = const Duration(minutes: 1);
Duration shavasanaDuration = const Duration(minutes: 7);
late int exNumber = 38;
late int totalDuration =

View File

@ -13,9 +13,9 @@ class UniversalPage extends StatefulWidget {
}
class _UniversalPageState extends State<UniversalPage> {
Duration universalDuration = const Duration(minutes: 2);
Duration universalDuration = const Duration(minutes: 10);
Duration shavasanaDuration = const Duration(minutes: 5);
late int exNumber = 10;
late int exNumber = 3;
late int totalDuration =
universalDuration.inSeconds * exNumber + shavasanaDuration.inSeconds;