Faites défiler pour haut

final _scrollController = ScrollController();

scrollToTop() {
    Timer(
      Duration(seconds: 0), () => _scrollController.animateTo(0.0, curve: Curves.easeOut, duration: const Duration(milliseconds: 300)),
    );
  }
  
SingleChildScrollView(
  controller: _scrollController,
  child: addWidget(),
))
Lokesh003