widget/kaeru_widget/composables/use_restoration library
Functions
-
useRestoration(
{String? restorationId, required void restoreState(RestorationBucket? oldBucket, bool initialRestore), required void didToggleBucket(RestorationBucket? oldBucket), void registerForRestoration(RestorableProperty< Object?> property, String restorationId)?, void unregisterFromRestoration(RestorableProperty<Object?> property)?, VoidCallback? didUpdateRestorationId}) → RestorationMixin<StatefulWidget> - A hook that provides restoration capabilities for widgets.