listtile_to_card 0.0.4 copy "listtile_to_card: ^0.0.4" to clipboard
listtile_to_card: ^0.0.4 copied to clipboard

This package provide conversion from listtile to card if the size of listtile is over the breakpoint

ListTileToCard #

Features #

screenshot1

According to official Material 3: Card, listtile and card are good to show list items.

This package provides Widget transforms into ListTile or Card by the MediaQuery.of(context).size

Usage #

ListTileToCard(
    breakWidth: 400,
    axisDirection: AxisDirection.left,
    cardMargin: const EdgeInsets.all(12),
    cardElevation: 6,
    cardShape: RoundedRectangleBorder(
    borderRadius: BorderRadius.circular(16),
    ),
    mainAxisAlignment: MainAxisAlignment.end,
    crossAxisAlignment: CrossAxisAlignment.end,
    listTile: ListTile(
    leading: const Icon(Icons.start),
    trailing: const Icon(Icons.exit_to_app_outlined),
    title: Text('Width: ${size.width}, Heigth: ${size.height}'),
    onTap: _incrementCounter,
    ),
)

Additional information #

On progress: ListView for ListTile and Gridview for Card

1
likes
90
points
33
downloads
screenshot

Publisher

verified publisherkoriai.com

Weekly Downloads

This package provide conversion from listtile to card if the size of listtile is over the breakpoint

Homepage
Repository (GitHub)

Topics

#adaptive #material #theme #ui #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on listtile_to_card