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.new({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, bool? useSystemAttachmentPicker})
-
Creates a StreamMessageInputThemeData.
const
Properties
- actionButtonColor → Color?
-
Background color of
MessageInput
action buttonsfinal - actionButtonIdleColor → Color?
-
Background color of
MessageInput
action buttonsfinal - activeBorderGradient → Gradient?
-
Border gradient when the
MessageInput
is focusedfinal - borderRadius → BorderRadius?
-
Border radius of
MessageInput
final - elevation → double?
-
Elevation of the
MessageInput
final - enableSafeArea → bool?
-
Wrap
MessageInput
with aSafeArea widget
final - expandButtonColor → Color?
-
Background color of
MessageInput
expand buttonfinal - hashCode → int
-
The hash code for this object.
no setteroverride
- idleBorderGradient → Gradient?
-
Border gradient when the
MessageInput
is not focusedfinal - 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 animationfinal - sendButtonColor → Color?
-
Background color of
MessageInput
send buttonfinal - sendButtonIdleColor → Color?
-
Background color of
MessageInput
send buttonfinal - shadow → BoxShadow?
-
Shadow for the
MessageInput
widgetfinal - useSystemAttachmentPicker → bool?
-
If True, allows you to use the system’s default media picker instead of
the custom media picker provided by the library. This can be beneficial
for several reasons:
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, bool? useSystemAttachmentPicker}) → 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 theother
-
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