ArtButtonsKh class

Inheritance

Constructors

ArtButtonsKh({Key? key, required Function? onPressed, String? text, Color? textColor, double? height, double? width, Color? backgroundColor = Colors.black, EdgeInsetsGeometry? margin, Color? disableBackgroundColor, double? radius, double? elevation, bool? isDisable, Widget? prefixesIcons, Widget? suffixesIcons, MainAxisAlignment? mainAxisAlignment, bool? isOutlineButton, BorderRadius? customizeBorderRadius, bool? isCircleButton, Widget? circleIcon, double? lineSize, String? fontFamily, Color? borderColor, double? fontSize = 12})
const

Properties

backgroundColor Color?
change background
final
borderColor Color?
set color border outlined button
final
circleIcon Widget?
add icon in circle button
final
customizeBorderRadius BorderRadius?
set customer radius if customizeBorderRadius have value, it will skip radius value
final
disableBackgroundColor Color?
change disable color
final
elevation double?
set shadow
final
fontFamily String?
set font family
final
fontSize double?
set fontSize
final
hashCode int
The hash code for this object.
no setterinherited
height double?
set height
final
isCircleButton bool?
set condition if you want button as circle
final
isDisable bool?
set button to disable
final
isOutlineButton bool?
set condition if you want button as outline
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineSize double?
set lineSize on circle button , this property work only when isCircle button true
final
mainAxisAlignment MainAxisAlignment?
set main axis on button when include with icon
final
margin EdgeInsetsGeometry?
set margin from button to button
final
onPressed Function?
for click action
final
prefixesIcons Widget?
add pre icon
final
radius double?
set radius value
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixesIcons Widget?
add suffixes icon
final
text String?
change text on button
final
textColor Color?
change color on text
final
width double?
set width
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
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}) 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