gen_z_designs 0.0.1-pre.2 copy "gen_z_designs: ^0.0.1-pre.2" to clipboard
gen_z_designs: ^0.0.1-pre.2 copied to clipboard

GenZdesigns is open source library that come with pre-build & easy to customize UI components for GenZ's to fasten and ease their development.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:gen_z_designs/gen_z_designs.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: 'Flutter Demo',
      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(),
      body: Container(
        alignment: Alignment.center,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            GenZButton(
              badge: true,
              onPressed: () {},
              type: GenZButtonType.OUTLINED,
              badgeColor: Colors.amber,
              badgePosition: const BadgePosition(left: 0),
              badgeType: BadgeType.INSIDE,
              badgeText: const Icon(Icons.abc, size: 18),
              text: "Text Button",
            ),
            GenZCountdown(
              // Sale Time is 2022-12-22 at 12:00 PM
              duration: Duration(
                milliseconds: DateTime.parse("2022-12-22 12:00:00")
                    .difference(DateTime.now())
                    .inMilliseconds,
              ),
            )
          ],
        ),
      ),
    );
  }
}
2
likes
150
points
15
downloads

Publisher

verified publisherkaushalzod.in

Weekly Downloads

GenZdesigns is open source library that come with pre-build & easy to customize UI components for GenZ's to fasten and ease their development.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gen_z_designs