ModalTitle class

The ModalTitle class is used to define the title that will be shown in the modal dialog. The titleText parameter is required and defines the text that will be shown in the title. The titleColor parameter is optional and defines the color of the title.

Constructors

ModalTitle({required String text, Color? color})
const

Properties

color Color?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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