ModalBuilder class

Constructors

ModalBuilder({required String customId, required String label, List<RowBuilder>? components})

Properties

components List<RowBuilder>?
getter/setter pair
customId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ↔ ComponentType
getter/setter pairinherited

Methods

addInput({required String customId, required String label, bool? required, int? minLength, int? maxLength, String? placeholder, String? value}) ModalBuilder
Created a input text field
addParagraph({required String customId, required String label, bool? required, int? minLength, int? maxLength, String? placeholder, String? value}) ModalBuilder
Created a input text field with multiple lines
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
toString() String
A string representation of this object.
inherited

Operators

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