display method

  1. @override
Widget display(
  1. int size
)
override

Implementation

@override
Widget display(int size) {
  return SizedBox(
      width: size.toDouble(),
      height: size.toDouble(),
      child: FutureBuilder(
        future: Cache.cacheUrl('$emojiKitchenMirror$appendix'),
        builder: (context, cache) {
          if (cache.data != null) {
            return Image.memory(Uint8List.fromList(cache.data!.byteList));
          } else {
            return const LinearProgressIndicator();
          }
        },
      )
      // Image.network(
      // '$emojiKitchenMirror$appendix',
      // ),
      );
}