repaint boundary
This commit is contained in:
1 parent
12ddd1ee33
commit
cd4be515f3
1 file changed
+3
-1
@@ -31,7 +31,9 @@ class TabIcon extends HookConsumerWidget {
|
||||
icon.connectionState != ConnectionState.done && icon.data == null,
|
||||
child: Skeleton.replace(
|
||||
replacement: Bone.icon(size: iconSize),
|
||||
child: RawImage(image: icon.data, height: iconSize, width: iconSize),
|
||||
child: RepaintBoundary(
|
||||
child: RawImage(image: icon.data, height: iconSize, width: iconSize),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user