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 #

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
1
likes
110
pub points
56%
popularity

Flutter Bootstrap cards provide a flexible and extensible content container with multiple variants and options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bs_flutter_utils, flutter, flutter_web_plugins

More

Packages that depend on bs_flutter_card