styx_flutter library

Classes

EntityBuilder<T>
EntityProvider<T extends EntitySystem>
An inherited widget that can provide entities to a section of the Widget tree.
EntityWatcher<T extends EntitySystem>
A component that expect an EntitySystem type and will do a lookup in the current widget tree for that EntityProvider and watch those entities.

Typedefs

EntityDataBuilder<T> = Widget Function(T data)
EntityEmptyBuilder = Widget Function()
EntityErrorBuilder = Widget Function(Object? error, StackTrace? stackTrace)
EntityWatcherBuilder = Widget Function(BuildContext, List<Entity>)
EntityWatcherFilter = List<Entity> Function(BuildContext, List<Entity>)
EntityWatcherFilterBuilder = Widget Function(BuildContext, EntityMatcher, List<Entity>)