StreamMessageInputThemeData class
A style that overrides the default appearance of MessageInput widgets when used with StreamMessageInputTheme or with the overall StreamChatTheme's StreamChatThemeData.messageInputTheme.
- Mixed in types
Constructors
- StreamMessageInputThemeData({Duration? sendAnimationDuration, Color? actionButtonColor, Color? sendButtonColor, Color? actionButtonIdleColor, Color? sendButtonIdleColor, Color? inputBackgroundColor, TextStyle? inputTextStyle, InputDecoration? inputDecoration, Gradient? activeBorderGradient, Gradient? idleBorderGradient, BorderRadius? borderRadius, Color? expandButtonColor, Color? linkHighlightColor, bool? enableSafeArea, double? elevation, BoxShadow? shadow})
-
Creates a StreamMessageInputThemeData.
const
Properties
- actionButtonColor → Color?
-
Background color of MessageInput action buttons
final
- actionButtonIdleColor → Color?
-
Background color of MessageInput action buttons
final
- activeBorderGradient → Gradient?
-
Border gradient when the MessageInput is focused
final
- borderRadius → BorderRadius?
-
Border radius of MessageInput
final
- elevation → double?
-
Elevation of the MessageInput
final
- enableSafeArea → bool?
-
Wrap MessageInput with a
SafeArea widget
final - expandButtonColor → Color?
-
Background color of MessageInput expand button
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- idleBorderGradient → Gradient?
-
Border gradient when the MessageInput is not focused
final
- inputBackgroundColor → Color?
-
Background color of MessageInput
final
- inputDecoration → InputDecoration?
-
InputDecoration of MessageInput
final
- inputTextStyle → TextStyle?
-
TextStyle of MessageInput
final
- linkHighlightColor → Color?
-
Color of a link
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendAnimationDuration → Duration?
-
Duration of the MessageInput send button animation
final
- sendButtonColor → Color?
-
Background color of MessageInput send button
final
- sendButtonIdleColor → Color?
-
Background color of MessageInput send button
final
- shadow → BoxShadow?
-
Shadow for the MessageInput widget
final
Methods
-
copyWith(
{Duration? sendAnimationDuration, Color? inputBackgroundColor, Color? actionButtonColor, Color? sendButtonColor, Color? actionButtonIdleColor, Color? linkHighlightColor, Color? sendButtonIdleColor, Color? expandButtonColor, TextStyle? inputTextStyle, InputDecoration? inputDecoration, Gradient? activeBorderGradient, Gradient? idleBorderGradient, BorderRadius? borderRadius, bool? enableSafeArea, double? elevation, BoxShadow? shadow}) → StreamMessageInputThemeData - Returns a new StreamMessageInputThemeData replacing some of its properties
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
StreamMessageInputThemeData a, StreamMessageInputThemeData b, double t) → StreamMessageInputThemeData - Linearly interpolate from one StreamMessageInputThemeData to another.
-
merge(
StreamMessageInputThemeData? other) → StreamMessageInputThemeData -
Merges this StreamMessageInputThemeData with the
other
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override