fresco 0.0.2
fresco: ^0.0.2 copied to clipboard
ImageView for android using https://frescolib.org/docs/index.html.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fresco
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
fresco: ^0.0.2
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:fresco/fresco_method_channel.dart';
import 'package:fresco/fresco_platform_interface.dart';
import 'package:fresco/my_image_view.dart';
import 'package:fresco/scale_type.dart';