WSSettings class

The puzzle settings intetface

Constructors

WSSettings({required int width, required int height, List<WSOrientation> orientations = WSOrientation.values, dynamic fillBlanks, bool allowExtraBlanks = true, int maxAttempts = 3, int maxGridGrowth = 10, bool preferOverlap = true})

Properties

allowExtraBlanks bool
Allow the puzzle to be filled with blanks
final
fillBlanks → dynamic
The way in which empty spaces in the puzzle should be filled
final
hashCode int
The hash code for this object.
no setterinherited
height int
The recommended height of the puzzle
getter/setter pair
maxAttempts int
Maximum number of attempts to fit the words in the puzzle
final
maxGridGrowth int
Maximum numbed of times the grid can grow depending on the length of the words and placement
final
orientations List<WSOrientation>
The allowed orientations for the words placed in the puzzle
final
preferOverlap bool
Allow overlaping of words in the puzzle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The recommended width of the puzzle
getter/setter pair

Methods

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