flutter_sm_image 0.0.2-dev.3
flutter_sm_image: ^0.0.2-dev.3 copied to clipboard
A Flutter package that provides a widget to load images from the web with caching support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_sm_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_sm_image: ^0.0.2-dev.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_sm_image/generated/assets.gen.dart';
import 'package:flutter_sm_image/sm_image.dart';