image_x 0.0.1
image_x: ^0.0.1 copied to clipboard
Lazy image widget for any path [Asset, Path, Url] for all image types.
example/example.md
Import package #
import 'package:image_x/image_x.dart';
Usage: #
class MyLogo extends StatelessWidget {
const MyLogo({super.key});
@override
Widget build(BuildContext context) {
return const ImageX(
path: 'assets/images/logo.svg',
fit: BoxFit.fitWidth,
svgColor: Colors.blue,
);
}
}