flash_image 0.0.5 copy "flash_image: ^0.0.5" to clipboard
flash_image: ^0.0.5 copied to clipboard

Flash image package for image loading from asset or network wether it's svg or jpg, png, etc... with shimmer effect

flash_image #

pub package

A Flutter widget for all king of image (svg, png, jpg, etc..) with shimmer effect inbuilt. Supports Android, iOS, Linux, macOS and Windows. Not all methods are supported on all platforms.

Android iOS Linux macOS Windows
Support SDK 16+ 9.0+ Any 10.11+ Windows 10+

Usage #

To use this plugin, add flash_image as a dependency in your pubspec.yaml file.

Example #

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) => const MaterialApp(
        home: MyScreen(),
      );
}

class MyScreen extends StatefulWidget {
  const MyScreen({super.key});

  @override
  State<MyScreen> createState() => _MyScreenState();
}

class _MyScreenState extends State<MyScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flash Text Example 1'),
      ),
      body: Column(
        children: const [
          FlashImage(
            imgURL: FlashImgConstant.svgPlaceholder,
          ),
          FlashImage(
            imgURL: "https://codeflashinfotech.com/favicon.svg",
          ),
        ],
      ),
    );
  }
}

See this flash_image test for an example.

A Codeflash's Product ✨

4
likes
140
pub points
72%
popularity

Publisher

verified publishercodeflashinfotech.com

Flash image package for image loading from asset or network wether it's svg or jpg, png, etc... with shimmer effect

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

cached_network_image, flash_text, flutter, flutter_svg, photo_view, shimmer

More

Packages that depend on flash_image