flexible_data_view 0.0.3 copy "flexible_data_view: ^0.0.3" to clipboard
flexible_data_view: ^0.0.3 copied to clipboard

A customizable package for displaying data in list, grid, table or slideshow views.


๐Ÿ“„ README.md #

# ๐Ÿ“ฆ flexible_data_view

A powerful and customizable Flutter widget for displaying data in multiple flexible formats including **ListView**, **GridView**, **Slideshow (PageView)**, and **TableView**. Easily switch between views, customize each card, scroll direction, and even enable auto-slideshow with no external dependencies like `carousel_slider`.

---

## โœจ Features

- โœ… List, Grid, Slideshow (PageView), and Table support
- ๐ŸŽจ Customizable card widget using `itemBuilder`
- ๐Ÿ” Auto-slideshow with configurable interval
- โ†•๏ธ Vertical or horizontal scroll direction
- ๐Ÿ“ Grid cross-axis customization
- ๐Ÿ“Š Table layout with headers and rows
- ๐Ÿงฑ Lightweight and no third-party dependencies

---

## ๐Ÿš€ Getting Started

Add the dependency in your `pubspec.yaml`:

```yaml
dependencies:
  flexible_data_view: ^1.0.0

๐Ÿงฉ Usage #

Import #

import 'package:flexible_data_view/flexible_data_view.dart';

๐Ÿ’ก Example #

FlexibleDataView<String>(
  data: ['Apple', 'Banana', 'Cherry'],
  viewType: ViewType.grid,
  gridCrossAxisCount: 2,
  scrollDirection: Axis.vertical,
  autoSlide: true,
  slideInterval: const Duration(seconds: 3),
  itemBuilder: (item, index) => Card(
    child: Center(
      child: Text(item),
    ),
  ),
)

๐Ÿ—‚ ViewType Options #

enum ViewType {
  list,
  grid,
  slideshow,
  table,
}

๐Ÿ“Š Table Example #

FlexibleTableView(
  headers: ['Name', 'Age'],
  rows: [
    ['Alice', '25'],
    ['Bob', '30'],
  ],
)

๐Ÿ“ธ Screenshots #

List View Grid View Slideshow Table
โœ… โœ… โœ… โœ…

๐Ÿ“ Example Project #

Check the full example in the example folder or run:

cd example
flutter run

๐Ÿงช Run Tests #

flutter test

๐Ÿ’ผ Maintainer #

Developed & maintained by Md.Rahul Reza ๐Ÿ“ซ For any inquiries, issues, or feature requests, please contact via website.


๐Ÿ“„ License #

MIT License


1
likes
160
points
22
downloads

Publisher

verified publisherrahulreza.com

Weekly Downloads

A customizable package for displaying data in list, grid, table or slideshow views.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flexible_data_view