Skip to content

Body Card

Body card

SidebarBodyCard(
  contents: [
    ContentSidebarBodyCard(
      icon: Icons.view_carousel_outlined,
      title: 'Total Kartu',
      value: '40.000',
    ),
    ContentSidebarBodyCard(
      icon: Icons.archive_outlined,
      title: 'Total Archive',
      value: '40.000',
    ),
    ContentSidebarBodyCard(
      icon: Icons.category_outlined,
      title: 'Total Kategori',
      value: '40.000',
    ),
    ContentSidebarBodyCard(
      icon: Icons.merge_type_outlined,
      title: 'Total Tipe',
      value: '40.000',
    ),
  ],
),

Warning

Required, for SidebarBodyCard please wrap with widget Column.

Constructors

  • content type properties is list, needed the widget ContentSidebarBodyCard.

Body Card Item

Body card

ContentSidebarBodyCard(
  icon: Icons.view_carousel_outlined,
  title: 'Total Kartu',
  value: '40.000',
),

Constructors

  • title the properties is required.
  • icon defines the icon data and it is required.
  • value defines the text below the icon.
  • onTab if need interaction use the onTab.
Authors: Nanang Prasetya