VInputTheme class

Inheritance

Constructors

VInputTheme.dark({BoxDecoration containerDecoration = const BoxDecoration(color: Color(0xf7232121), borderRadius: BorderRadius.all(Radius.circular(15))), Widget trashIcon = const Icon(PhosphorIcons.trash, color: Colors.redAccent, size: 30), Widget cameraIcon = const Icon(PhosphorIcons.camera, size: 26, color: Colors.green), Widget fileIcon = const Icon(PhosphorIcons.paperclip, size: 26, color: Colors.green), Widget emojiIcon = const Icon(PhosphorIcons.smiley, size: 26, color: Colors.green), InputDecoration textFieldDecoration = const InputDecoration(border: InputBorder.none, fillColor: Colors.transparent), Widget? recordBtn, TextStyle textFieldTextStyle = const TextStyle(height: 1.3), Widget? sendBtn})
VInputTheme.light({BoxDecoration containerDecoration = const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(15))), Widget cameraIcon = const Icon(PhosphorIcons.camera, size: 26, color: Colors.green), Widget trashIcon = const Icon(PhosphorIcons.trash, color: Colors.redAccent, size: 30), Widget fileIcon = const Icon(PhosphorIcons.paperclip, size: 26, color: Colors.green), Widget emojiIcon = const Icon(PhosphorIcons.smiley, size: 26, color: Colors.green), InputDecoration textFieldDecoration = const InputDecoration(border: InputBorder.none, fillColor: Colors.transparent), Widget? recordBtn, Widget? sendBtn, TextStyle textFieldTextStyle = const TextStyle(height: 1.3)})

Properties

cameraIcon Widget
final
containerDecoration BoxDecoration
final
emojiIcon Widget
final
fileIcon Widget
final
hashCode int
The hash code for this object.
no setterinherited
recordBtn Widget?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendBtn Widget?
getter/setter pair
textFieldDecoration InputDecoration
final
textFieldTextStyle TextStyle
final
trashIcon Widget
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({BoxDecoration? containerDecoration, InputDecoration? textFieldDecoration, Widget? cameraIcon, Widget? fileIcon, Widget? emojiIcon, Widget? recordBtn, Widget? sendBtn, Widget? trashIcon, TextStyle? textFieldTextStyle}) VInputTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<VInputTheme>? other, double t) ThemeExtension<VInputTheme>
Linearly interpolate with another ThemeExtension object.
override
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