material_card 0.0.1 copy "material_card: ^0.0.1" to clipboard
material_card: ^0.0.1 copied to clipboard

A simple material card widget.

Material card

Features #

Create a simple card

Getting started #

Install latest version and use the widget :)

Usage #

Create a material card with these options - Height - Width - Color - Padding - Corner radius

class MyScreen extends StatelessWidget{
    const MyScreen({Key? key}) : super(key: key);
    @override
      Widget build(BuildContext context) {
        return Scaffold(
        backgroundColor: Colors.blue,
          appBar: AppBar(
            title: Text(widget.title),
          ),
          body: Center(
            child: CardWidget(
              width: 100.0,
              height: 100.0,
              color: Colors.white,
              padding: 10.0,
              cornerRadius: 10.0
            ),
          ),
        );
      }
  }

0
likes
120
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A simple material card widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on material_card