card_widget 0.0.6
card_widget: ^0.0.6 copied to clipboard
A flutter plugin to make your customized card more beautiful.
#
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