FLUTTER ECOSYSTEM

101Loop/Floating-Ribbon

एक फ्लटर पैकेज जो छवियों के लिए तैरता हुआ रिबन जोड़ने का आसान तरीका प्रदान करता है।

फ्लोटिंग-रिबन प्रोजेक्ट कवर
Stars
15
Forks
2
अंतिम पुश (UTC)
16 अग॰ 2019
प्रोजेक्ट स्थिति
सक्रिय
101Loop GitHub avatar
GITHUB Organization

101Loop ↗

101Loop is a community that promotes Open Source Projects among young learners and provide mentorship and guidance to them via Open Source Projects

भाषाएँDartObjective-CJava

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 2 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Floating Ribbon

pub package Build Status LICENSE

A new Flutter package for creating floating ribbons on images.

https://github.com/101Loop/Floating-Ribbon/blob/master/example.gif?raw=true

Dependency

dependencies:
  floating_ribbon: any

How To Use

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

dependencies:
  skeleton_text: any

The code to reproduce it,

import 'package:skeleton_text/skeleton_text.dart';
import 'package:floating_ribbon/floating_ribbon.dart';
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,
);

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.