indexed 0.0.8 icon indicating copy to clipboard operation
indexed: ^0.0.8 copied to clipboard

indexed widget, allow you to order the items inside stack, sothing like z-index

Indexed #

its a widget allow you to order the items inside stack, sothing like z-index.

Online demo Video demo

Getting Started πŸš€ #

you can use it in 2 ways:

use Indexed widget #

Indexer(
    children: [
        Indexed(IndexedInterface
          // prefer add key when use AnimatedPositioned
          key: UniqueKey(),
          child: Positioned(
            //...
          )
        ),
    ],
);

implements IndexedInterface #

Indexer(
    children: [
        MyExtendsIndexed(),
        MyImplementsIndexed(),
    ],
);
// extends
class IndexedExtendsDemo extends IndexedInterface {
    int index = 5;
}
// implements
class IndexedExtendsDemo extends AnimatedWidget implements IndexedInterface {
    int index = 1000;
    //...

    //...
}

Next? #

  • Indexer
  • Indexer.shadow(shadow:[1,1,100],children:[...]) // coming soon
  • Indexed (the item in stack)

Support ☺️ #

you can buy me a coffee.

engoj :)

more packeges: Kplayer

42
likes
130
pub points
92%
popularity

Publisher

verified publisher iconphysia.dev

indexed widget, allow you to order the items inside stack, sothing like z-index

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on indexed