FollyCell class

Inheritance

Constructors

FollyCell({required Widget child, required EdgeInsets padding, AlignmentGeometry align = Alignment.centerLeft, Color color = Colors.transparent, Key? key})
const
FollyCell.date(DateTime date, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.center, Color color = Colors.transparent, TextAlign textAlign = TextAlign.center, TextStyle? style, String locale = 'pt_br', String pattern = 'dd/MM/yyyy', bool selectable = false, Key? key})
FollyCell.dateTime(DateTime date, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.center, Color color = Colors.transparent, TextAlign textAlign = TextAlign.center, TextStyle? style, String locale = 'pt_br', String pattern = 'dd/MM/yyyy HH:mm', bool selectable = false, Key? key})
FollyCell.empty({Color color = Colors.transparent, EdgeInsets padding = EdgeInsets.zero, Key? key})
const
FollyCell.iconButton(IconData iconData, {dynamic onPressed()?, EdgeInsets padding = EdgeInsets.zero, AlignmentGeometry align = Alignment.center, Color color = Colors.transparent, Key? key})
FollyCell.integer(num number, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.centerRight, Color color = Colors.transparent, TextAlign textAlign = TextAlign.end, TextStyle? style, String locale = 'pt_br', String pattern = '#,##0', bool selectable = false, Key? key})
FollyCell.notZero(dynamic value, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.centerRight, Color color = Colors.transparent, TextAlign textAlign = TextAlign.end, TextStyle? style, String zeroText = '--', bool selectable = false, Key? key})
factory
FollyCell.number(num number, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.centerRight, Color color = Colors.transparent, TextAlign textAlign = TextAlign.end, TextStyle? style, String locale = 'pt_br', String pattern = '#,##0.00', bool selectable = false, Key? key})
FollyCell.positive(dynamic value, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.centerRight, Color color = Colors.transparent, TextAlign textAlign = TextAlign.end, TextStyle? style, String zeroText = '- ', bool selectable = false, Key? key})
factory
FollyCell.text(String text, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.centerLeft, Color color = Colors.transparent, TextAlign textAlign = TextAlign.start, TextStyle? style, bool selectable = false, Key? key})
FollyCell.textCenter(String text, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.center, Color color = Colors.transparent, TextAlign textAlign = TextAlign.center, TextStyle? style, bool selectable = false, Key? key})
FollyCell.textHeader(String text, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.bottomLeft, Color color = Colors.transparent, TextAlign textAlign = TextAlign.left, TextStyle style = const TextStyle(fontWeight: FontWeight.bold), bool selectable = false, Key? key})
FollyCell.textHeaderCenter(String text, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.bottomCenter, Color color = Colors.transparent, TextAlign textAlign = TextAlign.center, TextStyle style = const TextStyle(fontWeight: FontWeight.bold), bool selectable = false, Key? key})
FollyCell.textHeaderRight(String text, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.bottomRight, Color color = Colors.transparent, TextAlign textAlign = TextAlign.right, TextStyle style = const TextStyle(fontWeight: FontWeight.bold), bool selectable = false, Key? key})
FollyCell.time(DateTime date, {EdgeInsets padding = EdgeInsets.zero, Alignment align = Alignment.center, Color color = Colors.transparent, TextAlign textAlign = TextAlign.center, TextStyle? style, String locale = 'pt_br', String pattern = 'HH:mm', bool selectable = false, Key? key})

Properties

align AlignmentGeometry
final
child Widget
final
color Color
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) 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