bs_flutter_card 1.0.0 bs_flutter_card: ^1.0.0 copied to clipboard
Flutter Bootstrap cards provide a flexible and extensible content container with multiple variants and options.
bs_flutter_card #
Flutter Bootstrap cards provide a flexible and extensible content container with multiple variants and options.
Getting Started #
Add the dependency in pubspec.yaml
:
dependencies:
...
bs_flutter_card: any
Create box card:
// ...
BsCard(
children: [
BsCardContainer(title: Text('Box Card')),
BsCardContainer(child: Container(
child: Text('Box Card Content'),
)),
BsCardContainer(actions: [
BsButton(
onPressed: () {},
style: BsButtonStyle.primary,
prefixIcon: Icons.block,
label: Text('Primary'),
)
])
],
)
// ...
Note #
- To custom card style use
BsCardContainerStyle
orBsCardStyle