fimage 0.1.0 copy "fimage: ^0.1.0" to clipboard
fimage: ^0.1.0 copied to clipboard

FImage realize loading a variety of image resources.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'example.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();

  static restartApp(BuildContext context) {
    var state = context.findAncestorStateOfType<_MyAppState>();
    state.restartApp();
  }
}

class _MyAppState extends State<MyApp> {
  Key key = UniqueKey();

  restartApp() {
    this.setState(() {
      key = UniqueKey();
    });
  }

  @override
  Widget build(BuildContext context) {
    return Container(
      key: key,
      child: GifExample(),
    );
  }
}
3
likes
15
pub points
13%
popularity

Publisher

unverified uploader

FImage realize loading a variety of image resources.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

archive, flutter

More

Packages that depend on fimage