Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A package provides an easy way to add shimmer effect in Flutter

Shimmer

A package provides an easy way to add shimmer effect in Flutter project

How to use

import 'package:shimmer/shimmer.dart';
SizedBox(
  width: 200.0,
  height: 100.0,
  child: Shimmer.fromColors(
    baseColor: Colors.red,
    highlightColor: Colors.yellow,
    child: Text(
      'Shimmer',
      textAlign: TextAlign.center,
      style: TextStyle(
        fontSize: 40.0,
        fontWeight:
        FontWeight.bold,
      ),
    ),
  ),
);

Download Flutter Shimmer Plugin source code on GitHub

Get Shimmer package implementation details on PUB

https://pub.dev/packages/shimmer

Exit mobile version