coupon_uikit 0.2.1 copy "coupon_uikit: ^0.2.1" to clipboard
coupon_uikit: ^0.2.1 copied to clipboard

A UI kit that contains clippers and widgets which implements the shape of the coupon cards

example/lib/main.dart

import 'package:flutter/material.dart';

import 'samples/horizontal_coupon_example_1.dart';
import 'samples/horizontal_coupon_example_2.dart';
import 'samples/vertical_coupon_example.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Coupon Cards Example',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Coupon Cards Demo')),
      body: const Padding(
        padding: EdgeInsets.all(14),
        child: SingleChildScrollView(
          child: Column(
            children: [
              HorizontalCouponExample1(),
              SizedBox(height: 14),
              VerticalCouponExample(),
              SizedBox(height: 14),
              HorizontalCouponExample2(),
            ],
          ),
        ),
      ),
    );
  }
}
193
likes
140
pub points
94%
popularity

Publisher

verified publisherdevmuaz.com

A UI kit that contains clippers and widgets which implements the shape of the coupon cards

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on coupon_uikit