floating_ribbon 1.0.1 copy "floating_ribbon: ^1.0.1" to clipboard
floating_ribbon: ^1.0.1 copied to clipboard

A new Flutter package for creating floating ribbons on images.

Floating Ribbon #

Build Status

A new Flutter package for creating floating ribbons on images.

Dependency #

dependencies:
  floating_ribbon: any
copied to clipboard

How To Use #

In order to achieve the shimmering effect, you need to add a package in pubspec.yaml.

dependencies:
  skeleton_text: any
copied to clipboard

The code to reproduce it,

import 'package:skeleton_text/skeleton_text.dart';
import 'package:floating_ribbon/floating_ribbon.dart';
copied to clipboard
FloatingRibbon(
  height: 85,
  width: 85,
  childHeight: 75,
  childWidth: 75,
  child: Padding(
    padding: const EdgeInsets.all(8.0),
    child: FlutterLogo(),
  ),
  childDecoration: BoxDecoration(color: Colors.grey),
  ribbon: SkeletonAnimation(
    child: Center(
      child: Text(
        'Exclusive',
        style: TextStyle(
          color: Colors.white,
        ),
        textAlign: TextAlign.center,
      ),
    ),
  ),
  shadowHeight: 5,
);

copied to clipboard

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

22
likes
30
points
34
downloads

Publisher

verified publishermahengandhi.me

Weekly Downloads

2024.08.10 - 2025.02.22

A new Flutter package for creating floating ribbons on images.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on floating_ribbon