title: Flutter countdown timer auto start issue
body: <p>im trying to make a countdown timer when the button is pressed, but my countdown timer runs automatically when I open the page.</p>
  <p>the problem here is that the timer works as soon as you open the page</p>
  <p>packages I use</p>
  <p><a href="https://pub.dev/packages/flutter_countdown_timer" rel="nofollow noreferrer">https://pub.dev/packages/flutter_countdown_timer</a></p>
  <p>package:flutter_countdown_timer/countdown_timer_controller.dart</p>
  <p>here is my code</p>
  <pre><code>  late final CountdownTimerController _controller;
  
    @override
    void initState() {
      super.initState();
      _controller = CountdownTimerController(
        endTime: endTime,
        onEnd: onEnd,
      );
    }
  
    @override
    void dispose() {
      _controller.dispose();
      super.dispose();
    }
  
    void miningCounter() {
      _controller.start();
      final user = context.read&lt;FirebaseAuthMethods&gt;().user;
  
      dbRef.child(user.uid).child('miningEndTime').set(endTime);
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: const Text('Mining Screen'),
          backgroundColor: primaryMaterialColor,
        ),
        body: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            CustomMiningButton(icon: Icons.add, onTap: miningCounter),
            CountdownTimer(
              controller: _controller,
              endTime: endTime,
              onEnd: onEnd,
            )
          ],
        ),
      );
    }
  }
  </code></pre>