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

A new Flutter Custom Card.

##instalation

  1. add the latest version of package to your pubspec.yaml (and run pub get): '''yaml dependencies: amazing_card: ^0.0.1,

  2. Import the package and use it in your Flutter App.

import 'package:'amazing_card/amazing_card.dart

##Example There are a number of properties that you can modify:

  • height
  • width
  • cardColor
  • cardShadowColor
  • borderRadius
  • offset
  • blurRadius
  • spreadRadius
  • Widget as Child

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

@override Widget build(BuildContext context) { return Scaffold( body: Center(child: AmazingCard( height: 100, width: double.infinity, decoration: BoxDecoration( boxShadow: [ BoxShadow( offset : Offset(0,2), blurRadius : 2, spreadRadius : 3, color : Colors.black.withOpacity(0.2), ) ], color: Colors.white, borderRadius : BorderRadius.circular(20) ),

    child: Widget(),
    ),),
);

} }

0
likes
120
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter Custom Card.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on amazingcard