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(
|
||||
|
||||
@@ -468,6 +468,13 @@ class _ShimmerLoaderState extends State<ShimmerLoader>
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void deactivate() {
|
||||
// Pause shimmer during deactivation to avoid rebuilds in wrong build scope
|
||||
_shimmerController.stop();
|
||||
super.deactivate();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = context.conduitTheme;
|
||||
|
||||
@@ -229,6 +229,13 @@ class _SkeletonLoaderState extends State<_SkeletonLoader>
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void deactivate() {
|
||||
// Pause shimmer during deactivation to avoid rebuilds in wrong build scope
|
||||
_controller.stop();
|
||||
super.deactivate();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
|
||||
@@ -55,6 +55,13 @@ class _SkeletonLoaderState extends State<SkeletonLoader>
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
void deactivate() {
|
||||
// Pause shimmer 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