I'am building a simple pedometer application using flutter using pedometer package. When I start the application it start constanly counting steps. I want to have a button to start and pause the counting (thinking about putting a timer later for how many steps in a hour)
I'am so new in in flutter this i the link to the package https://pub.dev/packages/pedometer And I'am using there example code : https://github.com/cph-cachet/flutter-plugins/blob/master/packages/pedometer/example/lib/main.dart
I want to have a button to start and pause the counting