MessageTimestamp class

Row displaying the provided status and at stylized to be a status of some ChatItem.

Inheritance
Available extensions

Constructors

MessageTimestamp({Key? key, required PreciseDateTime at, SendingStatus? status, bool date = false, bool read = false, bool halfRead = false, bool delivered = false, bool inverted = false, double? fontSize})
const

Properties

at → PreciseDateTime
PreciseDateTime to display in this MessageTimestamp.
final
date → bool
Indicator whether this MessageTimestamp should displayed a date.
final
delivered → bool
Indicator whether this MessageTimestamp is considered to be delivered, meaning it should display an appropriate icon.
final
fontSize → double?
Optional font size of this MessageTimestamp.
final
halfRead → bool
Indicator whether this MessageTimestamp is considered to be read only partially, meaning it should display an appropriate icon.
final
hashCode → int
The hash code for this object.
no setterinherited
inverted → bool
Indicator whether this MessageTimestamp should have its colors inverted.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
read → bool
Indicator whether this MessageTimestamp is considered to be read, meaning it should display an appropriate icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → SendingStatus?
SendingStatus to display in this MessageTimestamp, if any.
final

Methods

animate({Key? key, List<Effect>? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) → Animate

Available on Widget, provided by the AnimateWidgetExtensions extension

Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex. myWidget.animate() is equivalent to Animate(child: myWidget).
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