diagonal_list 0.0.1 copy "diagonal_list: ^0.0.1" to clipboard
diagonal_list: ^0.0.1 copied to clipboard

This package allows you to scroll in horizontal and vertical ways at the same time.

diagonal_list #

This package allows you to scroll in horizontal and vertical ways at the same time.

How does it work? #

There are two ways to use this package.

-Wrap your any widget or -Generate table

Wrap your any widget #

DiagonalList(
    child: Container(
        height: 800,
        width: 800,
        margin: const EdgeInsets.all(16),
        decoration: const BoxDecoration(
        borderRadius: BorderRadius.all(
            Radius.circular(20),
        ),
        gradient: LinearGradient(
            colors: [Colors.red, Colors.pink],
        ),
    ),
    ),
),

Generate table #

DiagonalList(
    diagonalModel: DiagonalModel(
        itemCount: 100,
        itemCountHorizontal: 10,
    ),
    builder: (dx, dy, index) {
        return Container(
        height: 80,
        width: 80,
        color: Colors.green,
        margin: const EdgeInsets.all(8),
    );
    },
),

You can not put a widget with 'diagonalModel'!

2
likes
120
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

This package allows you to scroll in horizontal and vertical ways at the same time.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on diagonal_list