Fix all
This commit is contained in:
parent
f690aa8715
commit
45ab1aa2e4
19
README.md
19
README.md
|
@ -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-смартфон и установить.
|
|
@ -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 =
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue