Questions tagged [flutter-state-restoration]

3 questions
0
votes
0 answers

How to Implement Flutter State Restoration in an iOS native app which has a FlutterViewController on the top

As per the Flutter documentation, the following steps are required to implement Flutter State Restoration in a Flutter iOS project: Open ios/Runner.xcodeproj in Xcode. Select Main.storyboard under Runner/Runner in the Project Navigator on the…
0
votes
0 answers

How to clear RestorationBucket in Flutter State Restoration

I am using Flutter State Restoration like below. I want to clear all data of the bucket but I am not able to find any method for that. final restorationBucket = await…
Shahbaz Hashmi
  • 2,631
  • 2
  • 26
  • 49
0
votes
1 answer

How to use Flutter State Restoration with HookWidget

I want to use Flutter State Restoration in my Flutter app. I want to save/restore some data and on internet all articles suggest to use RestorationMixin for this. How can I use RestorationMixin with HookWidget ?
Shahbaz Hashmi
  • 2,631
  • 2
  • 26
  • 49