FControl class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FControl
Constructors
-
FControl({Key? key, String componentId = "componentId", double? width, double? height, FLightOrientation lightOrientation = FLightOrientation.LeftTop, Color color = FPrimerColor, FColorForStateCallback? colorForCallback, Gradient? gradient, FGradientForStateCallback? gradientForCallback, FSurface surface = FSurface.Flat, FSurfaceForStateCallback? surfaceForCallback, FChildForStateCallback? childForStateCallback, FShape? shape, FShapeForStateCallback? shapeForStateCallback, bool disabled = false, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? maskColor, bool supportDropShadow = true, FShadow dropShadow = const FShadow(), bool supportInnerShadow = true, FShadow innerShadow = const FShadow(), FAppearance? appearance, FType controlType = FType.Button, bool isSelected = false, bool userInteractive = true, FGroupController? controller, Widget? child, FOnTapCallback? onTapCallback, FOnTapDownCallback? onTapDownCallback, FOnTapUpCallback? onTapUpCallback, FOnTapCancelCallback? onTapCancelCallback, ValueChanged<
bool> ? onHover, Color? hoverColor}) -
const
Properties
- appearance → FAppearance?
-
final
- child → Widget?
-
final
- childForStateCallback → FChildForStateCallback?
-
final
- color → Color
-
final
- colorForCallback → FColorForStateCallback?
-
final
- componentId → String
-
final
- controller → FGroupController?
-
final
- controlType → FType
-
final
- disabled → bool
-
final
- dropShadow → FShadow
-
final
- gradient → Gradient?
-
final
- gradientForCallback → FGradientForStateCallback?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- hoverColor → Color?
-
final
- innerShadow → FShadow
-
final
- isSelected → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lightOrientation → FLightOrientation
-
final
- margin → EdgeInsetsGeometry?
-
final
- maskColor → Color?
-
final
-
onHover
→ ValueChanged<
bool> ? -
final
- onTapCallback → FOnTapCallback?
-
final
- onTapCancelCallback → FOnTapCancelCallback?
-
final
- onTapDownCallback → FOnTapDownCallback?
-
final
- onTapUpCallback → FOnTapUpCallback?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → FShape?
-
final
- shapeForStateCallback → FShapeForStateCallback?
-
final
- supportDropShadow → bool
-
final
- supportInnerShadow → bool
-
final
- surface → FSurface
-
final
- surfaceForCallback → FSurfaceForStateCallback?
-
final
- userInteractive → bool
-
final
- width → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< StatefulWidget> -
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