ChatInputStyle class
Define style of ChatInputField
Constructors
- ChatInputStyle({TextStyle styleText = const TextStyle(fontSize: 16, color: Colors.black, fontWeight: FontWeight.normal), bool enableLeandingIcon = true, double height = 256, Config? configEmojiPicker, Color activeColor = Colors.blue, Color inactiveColor = Colors.grey, String? hintText, TextStyle? hintTextStyle, int minLines = 1, int maxLines = 5, IconData? iconTrailing, IconData? iconLending, FocusNode? focusNode, InputDecoration? inputDecoration, ButtonStyle? styleIconButton})
-
const
Properties
- activeColor → Color
-
final
- configEmojiPicker → Config?
-
Config
of the emoji pickerfinal - enableLeandingIcon → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
height of the emoji picker container
final
- hintText → String?
-
hintText and hintTextStyle are optional
for default textfield input will be used "Start typing..."
final
- hintTextStyle → TextStyle?
-
final
- iconLending → IconData?
-
For default it will be used Icon(Icons.emoji_emotions_outlined)
final
- iconTrailing → IconData?
-
For default it will be used Icon(Icons.send)
final
- inactiveColor → Color
-
final
- inputDecoration → InputDecoration?
-
You can define style of textfield input
final
- maxLines → int
-
final
- minLines → int
-
Define min and max lines of textfield input main
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleIconButton → ButtonStyle?
-
Define style of send button
final
- styleText → TextStyle
-
Define style of textfield input
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited