TailChatBubbleType class
A ChatBubbleType that draws an external triangular tail.
- Inheritance
-
- Object
- ChatBubbleType
- TailChatBubbleType
Constructors
- TailChatBubbleType({AxisAlignmentGeometry? tailAlignment, AxisDirectional? position, Size? size, BorderRadiusGeometry? borderRadius, double? tailRadius, TailBehavior? tailBehavior, EdgeInsetsGeometry? padding})
-
Creates a TailChatBubbleType.
const
Properties
- borderRadius → BorderRadiusGeometry?
-
The border radius of the bubble.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsetsGeometry?
-
The padding inside the bubble.
final
- position → AxisDirectional?
-
The position of the tail relative to the bubble.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size?
-
The size of the tail.
final
- tailAlignment → AxisAlignmentGeometry?
-
The alignment of the tail along the bubble's edge.
final
- tailBehavior → TailBehavior?
-
The behavior determining when to show the tail.
final
- tailRadius → double?
-
The radius of the tail's curve.
final
Methods
-
copyWith(
{ValueGetter< AxisAlignmentGeometry> ? tailAlignment, ValueGetter<AxisDirectional> ? position, ValueGetter<Size> ? size, ValueGetter<BorderRadiusGeometry> ? borderRadius, ValueGetter<double> ? tailRadius, ValueGetter<TailBehavior> ? tailBehavior}) → TailChatBubbleType - Creates a copy of this bubble type with the given fields replaced with the new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrap(
BuildContext context, Widget child, ChatBubbleData data, ChatBubble chat) → Widget -
Wraps the child widget with the bubble styling.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited