expandable_cardview 1.0.5 copy "expandable_cardview: ^1.0.5" to clipboard
expandable_cardview: ^1.0.5 copied to clipboard

The ExpandableCard widget provides a customizable card with expandable sections, facilitating the display of detailed information in collapsible sections. Ideal for presenting complex content within a [...]

Expandable Card Widget Library #

Description #

The ExpandableCard widget provides a customizable card with expandable sections, facilitating the display of detailed information in collapsible sections. Ideal for presenting complex content within a compact UI.

Add Dependency #

Untuk menggunakan expandable_cardview, tambahkan dependensi ini pada file pubspec.yaml Anda:

dependencies:
  expandable_cardview: ^1.0.5

Import Library #

import 'package:expandable_cardview/expandable_cardview.dart';

Usage #

ExpandableCard(
  title: 'Bebek Goreng',
  deskripsi: 'Bebek Goreng pedas dan gurih',
  button2Value: 'Konfirmasi',
  sectionRowCount: 3,
  sectionRowTitles: ['Ulasan', 'Pesanan', 'Ongkir'],
  totalText: 3,
  backgroundColor: Colors.white,
  elevation: 4.0,
  button2Elevation: 5.0,
  button2Color: Colors.blue,
  button1TextColor: Colors.black,
  button2BorderRadius: 5.0,
  cardBorderRadius: 10,
  sectionRowData: {
    'Ulasan': ['Rating bagus', 'Makanan sedap', 'Order lagi besok'],
    'Pesanan': ['Jumbo', 'Pedas', 'Ga pake nasi'],
    'Ongkir': ['Genuk', 'Jalan Mrican no 2', 'kodepos 0164'],
  },
  onPressedButton2: () {
    // do something calling from custom method or action
  },
)

Demos #

Link ke Demo

🚧 Maintainer #

GitHub Ko-fi

Muhammad Yaasiin Hidayatulloh
📫 How to reach me: myaasiinh@gmail.com

11
likes
0
pub points
68%
popularity

Publisher

unverified uploader

The ExpandableCard widget provides a customizable card with expandable sections, facilitating the display of detailed information in collapsible sections. Ideal for presenting complex content within a compact UI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on expandable_cardview