Skip to content
pubscout

coupon_uikit

0.3.0, released 10 months ago by devmuaz.com

A UI kit providing custom clippers and widgets to implement coupon card shapes.

WASM-ready
$ flutter pub add coupon_uikit
Source repository

What it does

Provides customizable coupon card widgets and a CouponClipper class to easily create horizontal or vertical coupon card shapes with cutouts, shadows, borders, and gradients.

AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display coupon cards, discount vouchers, or tickets in your Flutter application.
  • You want custom-shaped clippers with curve cutouts and rounded corners.

Skip it when

  • You require general-purpose layout containers without coupon-specific shapes.

Strengths

  • Supports both horizontal and vertical coupon cards.
  • Customizable curve positions, radius, border radius, gradients, and shadows.

Weaknesses

  • Limited to coupon and voucher shapes.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
CouponCard(
  height: 150,
  backgroundColor: Colors.blue,
  curveAxis: Axis.vertical,
  firstChild: Container(
    color: Colors.red,
    child: Center(child: Text('23% OFF')),
  ),
  secondChild: Container(
    padding: EdgeInsets.all(16),
    child: Column(
      children: [
        Text('Coupon Code'),
        Text('FREESALES', style: TextStyle(fontSize: 24)),
      ],
    ),
  ),
)

Alternatives

Packages that do the same job and could replace coupon_uikit.