diff --git a/packages/mirai/lib/src/parsers/mirai_image/mirai_image_parser.dart b/packages/mirai/lib/src/parsers/mirai_image/mirai_image_parser.dart index 2f9983f2..8bee5cd1 100644 --- a/packages/mirai/lib/src/parsers/mirai_image/mirai_image_parser.dart +++ b/packages/mirai/lib/src/parsers/mirai_image/mirai_image_parser.dart @@ -31,30 +31,6 @@ class MiraiImageParser extends MiraiParser { } } - // Widget _networkImage(MiraiImage model, BuildContext context) => Image.network( - // model.src, - // alignment: model.alignment.value, - // color: model.color?.toColor(context), - // width: model.width, - // height: model.height, - // fit: model.fit, - // errorBuilder: (context, error, stackTrace) { - // return const SizedBox(); - // }, - // ); - - // Widget _networkImage(MiraiImage model, BuildContext context) => Image.network( - // model.src, - // alignment: model.alignment.value, - // color: model.color?.toColor(context), - // width: model.width, - // height: model.height, - // fit: model.fit, - // errorBuilder: (context, error, stackTrace) { - // return const SizedBox(); - // }, - // ); - Widget _networkImage(MiraiImage model, BuildContext context) => CachedNetworkImage( imageUrl: model.src, alignment: model.alignment.value,