fix: text sharing
This commit is contained in:
@@ -375,6 +375,13 @@ class _AnimatedThemeWrapperState extends State<AnimatedThemeWrapper>
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void deactivate() {
|
||||
// Pause animations during deactivation to avoid rebuilds in wrong build scope
|
||||
_controller.stop();
|
||||
super.deactivate();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AnimatedBuilder(
|
||||
|
||||
Reference in New Issue
Block a user