ModalBuilder class Null safety

Constructors

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

Properties

components List<RowBuilder>?
read / write
customId String
read / write
hashCode int
The hash code for this object.
read-only, inherited
label String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ↔ ComponentType
read / write, inherited

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 non-existent 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