Skip to content

Commit

Permalink
Removed unwanted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yousufmyk committed Feb 28, 2024
1 parent 63c13f8 commit 0937156
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions packages/mirai/lib/src/parsers/mirai_image/mirai_image_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,6 @@ class MiraiImageParser extends MiraiParser<MiraiImage> {
}
}

// 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,
Expand Down

0 comments on commit 0937156

Please sign in to comment.