GameDialog class final

Annotations

Constructors

GameDialog({required String id, required String title, String? image, List<GameDialogComponent> components = const [], List<GameDialogButton>? actions})

Properties

actions → List<GameDialogButton>?
final
components → List<GameDialogComponent>
final
copyWith → GameDialogCopyWith<GameDialog, GameDialog, GameDialog>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
image → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final

Methods

action(GameDialogButton action) → GameDialog
checkbox(String label, {String? id, bool initialValue = false}) → GameDialog
isValid() → bool
markdown(String content) → GameDialog
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
textField(String label, {String? id, String? placeholder, bool multiline = false, bool password = false}) → GameDialog
toJson() → String
inherited
toMap() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited
withImage(String image) → GameDialog

Operators

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