Variants enum

All built in variants.

Inheritance
Available extensions

Values

chess → const Variants
const Variants(Variant.standard)
chess960 → const Variants
const Variants(CommonVariants.chess960)
crazyhouse → const Variants
const Variants(CommonVariants.crazyhouse)
capablanca → const Variants
const Variants(LargeVariants.capablanca)
grand → const Variants
const Variants(LargeVariants.grand)
opulent → const Variants
const Variants(LargeVariants.opulent)
shako → const Variants
const Variants(LargeVariants.shako)
tenCubed → const Variants
const Variants(LargeVariants.tenCubed)
mini → const Variants
const Variants(SmallVariants.mini)
miniRandom → const Variants
const Variants(SmallVariants.miniRandom)
micro → const Variants
const Variants(SmallVariants.micro)
nano → const Variants
const Variants(SmallVariants.nano)
seirawan → const Variants
const Variants(CommonVariants.seirawan)
threeCheck → const Variants
const Variants(CommonVariants.threeCheck)
koth → const Variants
const Variants(CommonVariants.kingOfTheHill)
atomic → const Variants
const Variants(CommonVariants.atomic)
horde → const Variants
const Variants(CommonVariants.horde)
racingKings → const Variants
const Variants(CommonVariants.racingKings)
antichess → const Variants
const Variants(CommonVariants.antichess)
shatranj → const Variants
const Variants(CommonVariants.shatranj)
musketeer → const Variants
const Variants(Musketeer.variant)
xiangqi → const Variants
const Variants(Xiangqi.xiangqi)
miniXiangqi → const Variants
const Variants(Xiangqi.mini)
manchu → const Variants
const Variants(Xiangqi.manchu)
shogi → const Variants
const Variants(Shogi.shogi)
dobutsu → const Variants
const Variants(Dobutsu.dobutsu, alt: 'Dobutsu Shogi')
spawn → const Variants
const Variants(MiscVariants.spawn, alt: 'Spawn Chess')
kinglet → const Variants
const Variants(MiscVariants.kinglet, alt: 'Kinglet Chess')
extinction → const Variants
const Variants(MiscVariants.extinction)
threeKings → const Variants
const Variants(MiscVariants.threeKings, alt: 'Three Kings Chess')
domination → const Variants
const Variants(MiscVariants.domination)
dart → const Variants
const Variants(MiscVariants.dart)
andernach → const Variants
const Variants(MiscVariants.andernach)
jesonMor → const Variants
const Variants(OtherGames.jesonMor)
legan → const Variants
const Variants(MiscVariants.legan)
clobber → const Variants
const Variants(OtherGames.clobber)
clobber10 → const Variants
const Variants(OtherGames.clobber10)
kono → const Variants
const Variants(OtherGames.kono, alt: 'Five Field Kono')
joust → const Variants
const Variants(OtherGames.joust)
knightmate → const Variants
const Variants(MiscVariants.knightmate)
breakthrough → const Variants
const Variants(OtherGames.breakthrough)
pocketKnight → const Variants
const Variants(MiscVariants.pocketKnight)
hoppelPoppel → const Variants
const Variants(FairyVariants.hoppelPoppel)
newZealand → const Variants
const Variants(FairyVariants.newZealand, alt: 'New Zealand Chess')
grasshopper → const Variants
const Variants(FairyVariants.grasshopper, alt: 'Grasshopper Chess')
nightrider → const Variants
const Variants(FairyVariants.nightrider, alt: 'Nightrider Chess')
berolina → const Variants
const Variants(FairyVariants.berolina, alt: 'Berolina Chess')
wolf → const Variants
const Variants(FairyVariants.wolf, alt: 'Wolf Chess')
troitzky → const Variants
const Variants(ShapeVariants.troitzky, alt: 'Troitzky Chess')
omega → const Variants
const Variants(ShapeVariants.omega, alt: 'Omega Chess')
orda → const Variants
const Variants(Orda.orda)
ordaMirror → const Variants
const Variants(Orda.ordaMirror)

Properties

alt String?
final
builder Variant Function()
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() Variant
Builds a Variant for use with Game.
matchName(String n) bool
matchNamePartial(String n) bool
matchNamePartialInverse(String n) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

match(String name, {bool allowIncomplete = true}) Variants?

Constants

values → const List<Variants>
A constant List of the values in this enum, in order of their declaration.