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
70
points
30
downloads
screenshot

Documentation

API reference

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)
View/report issues

Topics

#adaptive #material #theme #ui #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on listtile_to_card