MessageItemPaneled class Null safety

A MessageItemContent with an _OptionsPanel which is displayed when tapped.

Inheritance

Constructors

MessageItemPaneled({Key? key, required String screenToken, required Message message, bool selected = false, bool displayOptions = false, required Future<void> onDelete(), double width = 100, double height = 100, bool showTimer = true})
const

Properties

displayOptions bool
Whether or not the _OptionsPanel should be displayed.
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
height double
The height of the MessageItemContent.
final
key Key?
Controls how one widget replaces another widget in the tree. [...]
final, inherited
message Message
The message to be displayed.
final
onDelete Future<void> Function()
Called when the delete button for the message is pressed.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
screenToken String
The screen token.
final
selected bool
Whether or not this widget has been selected by the user.
final
showTimer bool
Determines if the _RemainingTimePanel should be shown.
final
width double
The width of the MessageItemContent.
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. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. [...]
@nonVirtual, inherited