WrapperTextButton class

Inheritance

Constructors

WrapperTextButton({Key? key, required VoidCallback onPressed, VoidCallback? onLongPress, ValueChanged<bool>? onHover, ValueChanged<bool>? onFocusChange, ButtonStyle? style, Clip clipBehavior = Clip.none, FocusNode? focusNode, bool autofocus = false, WidgetStatesController? statesController, bool? isSemanticButton, Widget? child, String? text, TextStyle? textStyle, Color textColor = Colors.black, double textSize = 14, TextAlign? textAlign, TextOverflow? overflow, int? maxLines, Color? backgroundColor, Color? foregroundColor, Color? overlayColor = Colors.transparent, Color? shadowColor, Color? surfaceTintColor, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, OutlinedBorder? shape, double radius = 0, BorderRadius? borderRadius, BorderSide? borderSide, Color? borderColor = Colors.transparent, double? borderWidth, BorderStyle? borderStyle, double? elevation, IconPosition? iconPosition = IconPosition.left, Widget? icon, Color? iconColor, double? iconSize, double? gap = 4, double? width, double? height, Size? minimumSize, MaterialTapTargetSize? tapTargetSize, bool enable = true, FlexFit flexFit = FlexFit.loose, bool shrinkWrap = false})
const

Properties

alignment → AlignmentGeometry?
final
autofocus → bool
final
backgroundColor → Color?
final
borderColor → Color?
final
borderRadius → BorderRadius?
final
borderSide → BorderSide?
final
borderStyle → BorderStyle?
final
borderWidth → double?
final
child → Widget?
final
clipBehavior → Clip
final
elevation → double?
final
enable → bool
final
flexFit → FlexFit
final
focusNode → FocusNode?
final
foregroundColor → Color?
final
gap → double?
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
icon → Widget?
final
iconColor → Color?
final
iconPosition → IconPosition?
final
iconSize → double?
final
isSemanticButton → bool?
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxLines → int?
final
minimumSize → Size?
final
onFocusChange → ValueChanged<bool>?
final
onHover → ValueChanged<bool>?
final
onLongPress → VoidCallback?
final
onPressed → VoidCallback
final
overflow → TextOverflow?
final
overlayColor → Color?
final
padding → EdgeInsetsGeometry?
final
radius → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadowColor → Color?
final
shape → OutlinedBorder?
final
shrinkWrap → bool
final
statesController → WidgetStatesController?
final
style → ButtonStyle?
final
surfaceTintColor → Color?
final
tapTargetSize → MaterialTapTargetSize?
final
text → String?
final
textAlign → TextAlign?
final
textColor → Color
final
textSize → double
final
textStyle → TextStyle?
final
width → double?
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
resolve<T>(T value) → WidgetStateProperty<T>?
scaledPadding(BuildContext context) → EdgeInsetsGeometry
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