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.
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.
- ticketcher
Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.
77Compare - flutter_in_app_pip
Provides in-app Picture-in-Picture support with customizable widget
54Compare - material_new_shapes
Provides Material 3 shape definitions (e.g., RoundedPolygon, Cubic) for Flutter UI.
48Compare - custom_clippers
Provides custom clipper widgets for ClipPath to create various shapes.
54Compare