ContactUs class

Inheritance

Constructors

ContactUs.new({Key? key, PreferredSize? appBar, List<MessengerTypeElement> messengerProviders = const [], List<ContactActionableSchema> actionableContactListItems = const [], dynamic onContactTypeChanged(MessengerType)?, dynamic onContactItemTap(ContactActionableSchema)?, List<ContactInfoSchema> contactListItems = const [], String sendMessageButtonText = 'Send message', String changeMessengerButtonText = 'Change preferred messenger', String chooseMessengerTitle = 'Choose your preferred messenger', String sendMessageScreenAppbarTitle = 'Send us a message', String? sendMessageHintText = 'Your message', bool showMissingMessengerError = true, String missingMessengerErrorText = missingMessengerError, String missingMessengerErrorCloseButtonText = 'Close', String contactListSchemaError = 'Could not launch the URL', bool showContactListSchemaErrorPopup = true})
const

Properties

actionableContactListItems List<ContactActionableSchema>
final
appBar PreferredSize?
final
changeMessengerButtonText String
final
chooseMessengerTitle String
final
contactListItems List<ContactInfoSchema>
final
contactListSchemaError String
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
messengerProviders List<MessengerTypeElement>
final
missingMessengerErrorCloseButtonText String
final
missingMessengerErrorText String
final
onContactItemTap → dynamic Function(ContactActionableSchema)?
final
onContactTypeChanged → dynamic Function(MessengerType)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendMessageButtonText String
final
sendMessageHintText String?
final
sendMessageScreenAppbarTitle String
final
showContactListSchemaErrorPopup bool
final
showMissingMessengerError bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() ContactUsState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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