OnairosButton class

Inheritance

Constructors

OnairosButton({Key? key, required String text, double? width, double? height, EdgeInsets? padding, double borderRadius = 8.0, Color? backgroundColor, Color? textColor, TextStyle? textStyle, bool isDisabled = false, bool isLoading = false, required dynamic onResolved(String, String, dynamic), String? preferredPlatform, bool testMode = false, String testModeType = 'universal_onboarding', required Map<String, Map<String, String>> requestData, required String returnLink, required String AppName, String buttonType = 'circle', String buttonForm = "default", Color? color, bool swerv = false, bool darkMode = false, required Function openOnairosOverlay, String? customButtonText, })
const

Properties

AppName String
final
backgroundColor Color?
final
borderRadius double
final
buttonForm String
final
buttonType String
final
color Color?
final
customButtonText String?
final
darkMode bool
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
isDisabled bool
final
isLoading bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onResolved → dynamic Function(String, String, dynamic)
final
openOnairosOverlay Function
final
padding EdgeInsets?
final
preferredPlatform String?
final
requestData Map<String, Map<String, String>>
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
final
swerv bool
final
testMode bool
final
testModeType String
final
text String
final
textColor Color?
final
textStyle TextStyle?
final
width double?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<OnairosButton>
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