card_widget 0.0.4 copy "card_widget: ^0.0.4" to clipboard
card_widget: ^0.0.4 copied to clipboard

A package for customized card. User can alter padding for the card if he wants to increase padding, He can give different colors to the card, He should pass list of widgets to the CardWidget as children.

#

import 'package:Hospinity/widgets/card_widget.dart';
import 'package:flutter/material.dart';

class Demo extends StatefulWidget {
  const Demo({super.key});

  @override
  State<Demo> createState() => _DemoState();
}

class _DemoState extends State<Demo> {
  @override
  Widget build(BuildContext context) {
    return CardWidget(
      boxShadow: const BoxShadow(color: Colors.white),
      backgroundColor: const Color(0xFFF5E6FE),
      padding: const EdgeInsets.all(4),
      borderRadius: BorderRadius.circular(5),
      children: [
        Icon(
          Icons.calendar_today_outlined,
          color: Theme.of(context).primaryColor,
          size: 20,
        )
      ],
    );
  }
}

Additional information #

This package can be used to show card as you want, Using this package you can customize card as you want

1
likes
0
pub points
68%
popularity

Publisher

unverified uploader

A package for customized card. User can alter padding for the card if he wants to increase padding, He can give different colors to the card, He should pass list of widgets to the CardWidget as children.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on card_widget