GTFCell class

Inheritance

Constructors

GTFCell({Key? key, VoidCallback? onTap, String? leftTitle, String? leftDes, String? rightTitle, String? rightDes, String? tag, String? leftIcon, String? rightIcon, bool hideLeftIcon = false, bool hideRightIcon = false, bool hideLine = false, double leftTitleDesSpacing = 3, double leftTitleTagSpacing = 4, double leftIconSpacing = 8, double? leftIconWidth = 20, double? leftIconHeight = 20, double rightTitleDesSpacing = 1, double rightIconSpacing = 4, double? rightIconWidth = 20, double? rightIconHeight = 20, double radius = 0, double tagRadius = 2, double minHeight = 44, double? lineHeight = 0.5, GTFCellTagAlignment tagAlignment = GTFCellTagAlignment.left, double? leftTitleFontSize = GTFFont.base, double? leftDesFontSize = GTFFont.caption, double? rightTitleFontSize = GTFFont.base, double? rightDesFontSize = GTFFont.caption, double? tagFontSize = GTFFont.subCaption, FontWeight? leftTitleFontWeight = GTFFont.regular, FontWeight? leftDesFontWeight = GTFFont.regular, FontWeight? rightTitleFontWeight = GTFFont.regular, FontWeight? rightDesFontWeight = GTFFont.regular, FontWeight? tagFontWeight = GTFFont.regular, EdgeInsets? margin = const EdgeInsets.fromLTRB(16, 10, 16, 10), EdgeInsets padding = const EdgeInsets.all(12), EdgeInsets tagPadding = const EdgeInsets.fromLTRB(5, 0, 5, 1), Color? backgroundColor = GTFColor.white, Color? leftTitleColor = GTFColor.grey6, Color? leftDesColor = GTFColor.grey4, Color? rightTitleColor = GTFColor.grey4, Color? rightDesColor = GTFColor.grey4, Color? tagColor = GTFColor.grey6, Color tagBackgroundColor = GTFColor.yellowPrimary, Color? lineColor = GTFColor.grey2})
const

Properties

backgroundColor Color?
final
hashCode int
The hash code for this object.
no setterinherited
hideLeftIcon bool
final
hideLine bool
final
hideRightIcon bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leftDes String?
final
leftDesColor Color?
final
leftDesFontSize double?
final
leftDesFontWeight FontWeight?
final
leftIcon String?
final
leftIconHeight double?
final
leftIconSpacing double
final
leftIconWidth double?
final
leftTitle String?
final
leftTitleColor Color?
final
leftTitleDesSpacing double
final
leftTitleFontSize double?
final
leftTitleFontWeight FontWeight?
final
leftTitleTagSpacing double
final
lineColor Color?
final
lineHeight double?
final
margin EdgeInsets?
final
minHeight double
final
onTap VoidCallback?
final
padding EdgeInsets
final
radius double
final
rightDes String?
final
rightDesColor Color?
final
rightDesFontSize double?
final
rightDesFontWeight FontWeight?
final
rightIcon String?
final
rightIconHeight double?
final
rightIconSpacing double
final
rightIconWidth double?
final
rightTitle String?
final
rightTitleColor Color?
final
rightTitleDesSpacing double
final
rightTitleFontSize double?
final
rightTitleFontWeight FontWeight?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
final
tagAlignment GTFCellTagAlignment
final
tagBackgroundColor Color
final
tagColor Color?
final
tagFontSize double?
final
tagFontWeight FontWeight?
final
tagPadding EdgeInsets
final
tagRadius 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, 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