auto_list_grid_view
auto_list_grid_view — This Flutter package allows automatic switching from ListView.builder to GridView.builder based on screen size.
It is designed to simplify responsive design on both mobile and web platforms.
✨ Features 📱 ListView.builder on small screens
🖥️ Automatically switches to GridView.builder on larger screens
⚙️ Clean and simple to use
🔁 Automatically detects screen size
Example Usage
AutoListGridView(
itemCount: items.length,
itemBuilder: (context, index) {
return Card(
child: Center(child: Text(itemsindex
)),
);
},
)
Installation
dependencies: auto_list_grid_view: ^0.0.1
👨💻 Author Samir Aliyev 📧 samir.aliyev@code.edu.az 🔗 LinkedIn
📄 License MIT License. For more information, please refer to the LICENSE file.