FlameGameExtension extension
Methods
-
ensureAdd(Component component)
→ Future<void>
-
Makes sure that the
component
is added to the tree if you wait for the
returned future to resolve.
-
ensureAddAll(Iterable<Component> components)
→ Future<void>
-
Makes sure that the
components
are added to the tree if you wait for the
returned future to resolve.
-
ensureRemove(Component component)
→ Future<void>
-
Makes sure that the
component
is removed from the tree if you wait for
the returned future to resolve.
-
ensureRemoveAll(Iterable<Component> components)
→ Future<void>
-
Makes sure that the
components
are removed from the tree if you wait for
the returned future to resolve.