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

example/lib/main.dart

import 'package:flash_image/constants/flash_img_constant.dart';
import 'package:flash_image/flash_image.dart';
import 'package:flutter/material.dart';

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

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: const Column(
        children: [
          FlashImage(
            imgURL: FlashImgConstant.svgPlaceholder,
          ),
          FlashImage(
            imgURL: "https://codeflashinfotech.com/favicon.svg",
          ),
        ],
      ),
    );
  }
}
5
likes
130
points
67
downloads

Publisher

verified publishercodeflashinfotech.com

Weekly Downloads

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