EasterEggsSettingsBuilder class
A ValueBuilder that modifies an EasterEggsSettings.
- Inheritance
-
- Object
- ValueBuilder<
EasterEggsSettings> - EasterEggsSettingsBuilder
Constructors
- EasterEggsSettingsBuilder(EasterEggsSettings initial)
-
Fills in the fields with the given
initial
settings.
Properties
- badApple ↔ bool
-
Whether to render Bad Apple in the Map page. See EasterEggsSettings.badApple.
getter/setter pair
- enableClippy ↔ bool
-
Whether Clippy should appear by log messages. See EasterEggsSettings.enableClippy.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isValid → bool
-
Whether the value in the UI is valid.
no setteroverride
-
otherBuilders
→ List<
ChangeNotifier> -
Other builders to listen to.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segaIntro ↔ bool
-
Whether to show a SEGA intro. See EasterEggsSettings.segaIntro.
getter/setter pair
- segaSound ↔ bool
-
Whether to say "Binghamton" in the SEGA style. See EasterEggsSettings.segaSound.
getter/setter pair
- value → EasterEggsSettings
-
The value being updated in the UI.
no setteroverride
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBadApple(
bool input) → void - Updates the value of badApple.
-
updateClippy(
bool input) → void - Updates the value of EasterEggsSettings.enableClippy.
-
updateSegaIntro(
bool input) → void - Updates the value of EasterEggsSettings.segaIntro.
-
updateSegaSound(
bool input) → void - Updates the value of segaSound.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited