bs_flutter_card

Alt text

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 or BsCardStyle

Libraries

bs_flutter_card
bs_flutter_card_web