Indexed
its a widget allow you to order the items inside stack, sothing like z-index.
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?
X
Indexer1,1,100
,children:...
) // coming soonX
Indexed (the item in stack)
Support ☺️
you can buy me a coffee.
engoj :)
more packeges: Kplayer