GameDialog class final

Mixed in types
Annotations

Constructors

GameDialog({required String id, required String title, 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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

action(GameDialogButton action) 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

Operators

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