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

The CustomCard widget is a customizable card component in Flutter that provides flexibility in terms of content, styling, and interaction.

apptomate_custom_card #

The CustomCard widget is a customizable card component in Flutter that provides flexibility in terms of content, styling, and interaction.

Platform


📝 Description #

The CustomCard widget is a customizable card component in Flutter that provides flexibility in terms of content, styling, and interaction. It allows for an optional trailing widget, a title, an optional description, and a suffix widget, along with various customization options such as background color, elevation, padding, and border radius.


🚀 Features #

✔️ Supports a title widget.

✔️ Optional trailing, description, and suffix widgets.

✔️ Customizable background color, elevation, and shadow color.

✔️ Allows setting a border radius for rounded corners.

✔️ Padding customization for inner spacing.

✔️ Supports tap interaction via an onTap callback.


📲 Installation #

Add the dependency to your pubspec.yaml:

dependencies:
  apptomate_custom_card: ^0.0.1

Basic Example #

            CustomCard(
              titleWidget:Text("Flutter Card",style: TextStyle(color: Colors.black,fontSize: 20,fontWeight: FontWeight.bold),) ,
              trailWidget:Icon( Icons.flutter_dash),
              backgroundColor: Colors.blue.shade50,
              elevation: 6,
              shadowColor: Colors.blueAccent,
              onTap: () {
                print("Flutter Card Clicked!");
              },
            ),
            CustomCard(
              titleWidget: Text("Star Card",style: TextStyle(color: Colors.black,fontSize: 18,fontWeight: FontWeight.bold),),
              descriptionWidget:Text( "A customizable card with an icon.",style: TextStyle(color: Colors.grey,fontSize: 14,fontWeight: FontWeight.bold),),
              backgroundColor: Colors.yellow.shade50,
              elevation: 8,
              shadowColor: Colors.amber,
              suffixWidget: Icon( Icons.star),
              onTap: () {
                print("Star Card Clicked!");
              },
            ),
0
likes
130
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

The CustomCard widget is a customizable card component in Flutter that provides flexibility in terms of content, styling, and interaction.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on apptomate_custom_card