ProjectKind class final
What a new project is for, which decides what lib/main.dart draws and
what the project depends on.
A final class with constant instances rather than an enum, for the
reason PluginKind's doc gives: a fourth kind is a minor release, and a
switch somebody wrote against three would stop compiling on it.
The level-based genres (a platformer, a shooter, a racer, a strategy map) are the level editor's templates, made from its new-project screen; these are the projects that start from code.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
byName(
String name) → ProjectKind? -
The value called
name, or null for a name this version does not know, which is what a file written by a later version can carry. -
named(
String name) → ProjectKind -
The kind called
name, as--kindspells it.
Constants
- arcade → const ProjectKind
-
A Flame game over a 3D layer, through
flame_flutter3d. - scene → const ProjectKind
-
One lit sphere in a
Scene3D: the smallest application. -
values
→ const List<
ProjectKind> -
The three, in the order
--listprints them. - viewer → const ProjectKind
-
A model on a stand, turned by a drag and moved in by a pinch or a
scroll, through
Scene3D,OrbitCamera3DandModel3D.