repaint boundary
This commit is contained in:
@@ -31,7 +31,9 @@ class TabIcon extends HookConsumerWidget {
|
|||||||
icon.connectionState != ConnectionState.done && icon.data == null,
|
icon.connectionState != ConnectionState.done && icon.data == null,
|
||||||
child: Skeleton.replace(
|
child: Skeleton.replace(
|
||||||
replacement: Bone.icon(size: iconSize),
|
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