XBtnbase class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- XBtnbase
Constructors
- XBtnbase({String? label = "", Decoration? decorationBTN, Widget? iconWidget, bool? enableFeedback = true, EdgeInsets? paddingBTNContent, EdgeInsets? marginBTN, double? radiusBorder, double? widthBTN = 100, double? heightBTN = 50, AlignmentGeometry? alignmentLabel, double? elevation, BuildContext? buildContextOfPage, IconData? icon, TextAlign? textAlignLabel, String? nameOfPageToGo = "", TextStyle? styleLabel, double? iconSize = 28, Color? colorBTN = Colors.black, Color? textColor, Color? iconColor = Colors.black, dynamic onPressed()?, double? widthAreaOfIcon})
Properties
- alignmentLabel → AlignmentGeometry?
-
final
- buildContextOfPage → BuildContext?
-
final
- colorBTN → Color?
-
final
- decorationBTN → Decoration?
-
final
- elevation → double?
-
final
- enableFeedback → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightBTN → double?
-
final
- icon → IconData?
-
final
- iconColor → Color?
-
final
- iconSize → double?
-
final
- iconWidget → Widget?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → String?
-
final
- marginBTN → EdgeInsets?
-
final
- nameOfPageToGo → String?
-
final
- onPressed → dynamic Function()?
-
final
- paddingBTNContent → EdgeInsets?
-
final
- radiusBorder → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleLabel → TextStyle?
-
final
- textAlignLabel → TextAlign?
-
final
- textColor → Color?
-
Da il colore a tutti i tipi di testo
final
- widthAreaOfIcon → double?
-
final
- widthBTN → 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
-
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
Static Methods
-
ForMenu(
{String? label = "Inserisci Label", double? widthBTN = 250, double? heightBTN = 50, dynamic onPressed()?, Color? colorBorder = Colors.greenAccent, double? widthBorder = 2, Color? colorBackGround, Color? labelColor = Colors.greenAccent, TextAlign? textAlignLabel = TextAlign.center, double? borderRadius = 5}) → dynamic -
onlyBorderAndLabel(
{String? label = "Inserisci Label", double? widthBTN = 250, double? heightBTN = 40, dynamic onPressed()?, Color? colorBorder = Colors.greenAccent, double? widthBorder = 2, Color? colorBackGround, Color? labelColor = Colors.greenAccent, TextAlign? textAlignLabel = TextAlign.center, double? borderRadius = 5}) → dynamic