CFormfield class

Inheritance
Available extensions

Constructors

CFormfield.new({Key? key, String? title, dynamic onChanged(dynamic)?, String text = '', String? buttonText, TextEditingController? controller, void onPressed()?, bool disabled = false, bool? visible, bool obscure = false, String? errText, FocusNode? focusNode, bool readOnly = false, CTextFieldType type = CTextFieldType.text})

Properties

alignment Alignment?
finalinherited
backgroundColor Color?
finalinherited
border Border?
finalinherited
borderRadius double?
finalinherited
buttonText String?
final
children List<Widget>?
finalinherited
commonController CController
finalinherited
contentHeight → dynamic
no setterinherited
controller TextEditingController?
final
crossAxisAlignment CrossAxisAlignment?
finalinherited
decoration Decoration?
finalinherited
disabled bool
final
errText String?
final
expanded bool?
finalinherited
flex int?
finalinherited
focusNode FocusNode?
final
gap double?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
finalinherited
icon Widget?
finalinherited
iconMargin double?
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineColor Color?
finalinherited
lineWidth double?
finalinherited
mainAxisAlignment MainAxisAlignment?
finalinherited
mainAxisSize MainAxisSize?
finalinherited
margin EdgeInsetsGeometry?
finalinherited
marginZero Widget

Available on Widget, provided by the WidgetMarginX extension

no setter
obscure bool
final
onChanged → dynamic Function(dynamic)?
final
onPressed → void Function()?
final
onTap → dynamic Function()?
finalinherited
padding EdgeInsetsGeometry?
finalinherited
paddingZero Widget

Available on Widget, provided by the WidgetPaddingX extension

no setter
readOnly bool
final
rearIcon Widget?
finalinherited
rearIconMargin double?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
finalinherited
sliverBox Widget

Available on Widget, provided by the WidgetSliverBoxX extension

no setter
style Style?
finalinherited
tag String?
finalinherited
text String
final
title String?
final
type CTextFieldType
final
visible bool?
finalinherited
width double?
finalinherited

Methods

alert({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
confirm({dynamic title, dynamic onPressed, dynamic onCanceled, dynamic text, dynamic confirmText, dynamic cancelText}) → dynamic
inherited
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
getBackgroundColor() Color?
inherited
init(BuildContext context) Widget
inherited
initChildren(Widget widget, List<Widget> children, MainAxisAlignment? mainAxisAlignment, CrossAxisAlignment? crossAxisAlignment, MainAxisSize? mainAxisSize, Alignment? alignment, BuildContext context) Widget
inherited
marginAll(double margin) Widget

Available on Widget, provided by the WidgetMarginX extension

marginOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetMarginX extension

marginSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the WidgetMarginX extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paddingAll(double padding) Widget

Available on Widget, provided by the WidgetPaddingX extension

paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX extension

paddingSymmetric({double horizontal = 0.0, double vertical = 0.0}) Widget

Available on Widget, provided by the WidgetPaddingX extension

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
unfocus() → dynamic
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited