DefaultTheme class

Default chat theme which extends JsonFormTheme

Inheritance
Annotations

Constructors

DefaultTheme({TextStyle descriptionTextStyle = const TextStyle(color: neutral2, fontFamily: 'Avenir', fontSize: 12, fontWeight: FontWeight.w800, height: 1.333), TextStyle staticTextStyle = const TextStyle(fontFamily: 'Avenir', fontSize: 16, fontWeight: FontWeight.w500, color: Color(0xffE8EAED), height: 1.5), TextStyle nameTextStyle = const TextStyle(color: neutral7, fontFamily: 'Avenir', fontSize: 16, fontWeight: FontWeight.w800, height: 1.375), TextStyle headerTextStyle = const TextStyle(fontFamily: 'Avenir', fontSize: 13, color: Color(0xffA9AAAD), fontWeight: FontWeight.w400, height: 1.6), TextStyle titleTextStyle = const TextStyle(fontFamily: 'Avenir', fontSize: 16, color: Color(0xffE8EAED), fontWeight: FontWeight.w400, height: 1.333), BoxDecoration headerContainerDecoration = const BoxDecoration(color: Color(0xff0Da20D), border: Border(top: BorderSide(width: 0.0, color: Color(0xFF8A666F)), left: BorderSide.none, right: BorderSide.none, bottom: BorderSide(width: 0.0, color: Color(0xFF628B8F)))), BoxDecoration linePaDecoration = const BoxDecoration(border: Border(top: BorderSide.none, left: BorderSide.none, right: BorderSide.none, bottom: BorderSide(width: 0.0, color: Color(0xFF8233F)))), BoxDecoration linePaDecorationAboveHeader = const BoxDecoration(border: Border(top: BorderSide.none, left: BorderSide.none, right: BorderSide.none, bottom: BorderSide.none)), BoxDecoration nameContainerDecoration = const BoxDecoration(color: Colors.transparent), EdgeInsets lineMargins = const EdgeInsets.only(left: 10, right: 10, top: 0, bottom: 0), EdgeInsets staticTextPadding = const EdgeInsets.fromLTRB(20, 10, 5, 10), TextStyle editTextStyle = const TextStyle(color: Color(0xffaa7420), height: 1), TextStyle editTextStyleFocus = const TextStyle(color: Color(0xff007420), height: 1), Color editTextCursorColor = const Color(0xff9E753C), OutlineInputBorder editTextEnabledBorder = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(5.0)), borderSide: BorderSide(color: Color(0xffa22839), width: 2.0)), InputDecoration inputDecoration = const InputDecoration(isDense: true, contentPadding: EdgeInsets.fromLTRB(10.0, 10.0, 10.0, 10.0), fillColor: Colors.white, enabledBorder: OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(5.0)), borderSide: BorderSide(color: Color(0xffa03839), width: 2.0)), focusedBorder: OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(5.0)), borderSide: BorderSide(color: Color(0xff51753C), width: 2.0))), InputDecoration inputDecorationReadOnly = const InputDecoration(isDense: true, contentPadding: EdgeInsets.fromLTRB(10.0, 10.0, 10.0, 10.0), fillColor: Colors.white, enabledBorder: OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(5.0)), borderSide: BorderSide(color: Colors.transparent, width: 2.0)), focusedBorder: OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(5.0)), borderSide: BorderSide(color: Colors.transparent, width: 2.0))), dynamic editTextLongMargins = const EdgeInsets.only(top: 10), dynamic editTextMargins = const EdgeInsets.only(), dynamic editTextHeight = 35.0, BoxDecoration staticContainerDecoration = const BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(5)), border: Border(top: BorderSide.none, left: BorderSide.none, right: BorderSide.none, bottom: BorderSide.none))})
Creates a default chat theme. Use this constructor if you want to override only a couple of properties, otherwise create a new class which extends JsonFormTheme
const

Properties

backgroundColor Color
finalinherited
debounceTime int?
finalinherited
descriptionTextStyle TextStyle
finalinherited
////////////// DropDown Widget ////
finalinherited
finalinherited
editTextCursorColor Color
finalinherited
editTextHeight double
finalinherited
editTextLongMargins EdgeInsets
finalinherited
editTextMargins EdgeInsets
finalinherited
editTextStyle TextStyle
//////////////////////////// Edit Text ///
finalinherited
editTextStyleFocus TextStyle
finalinherited
editTextWidth double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headerContainerDecoration BoxDecoration
finalinherited
headerContainerMargins EdgeInsets
finalinherited
headerContainerPadding EdgeInsets
Header section//////
finalinherited
headerTextStyle TextStyle
finalinherited
inputDecoration InputDecoration
finalinherited
inputDecorationReadOnly InputDecoration
finalinherited
keyboardTypeLong TextInputType?
finalinherited
keyboardTypeShort TextInputType?
finalinherited
lineMargins EdgeInsets
finalinherited
linePadding EdgeInsets
finalinherited
linePaDecoration BoxDecoration
finalinherited
linePaDecorationAboveHeader BoxDecoration
finalinherited
nameContainerDecoration BoxDecoration
finalinherited
nameContainerPadding EdgeInsets
Global container params///
finalinherited
nameTextStyle TextStyle
finalinherited
overflow bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticContainerDecoration BoxDecoration
finalinherited
staticTextPadding EdgeInsets
finalinherited
staticTextStyle TextStyle
// Static Text ////
finalinherited
titleTextStyle TextStyle
finalinherited
toggleActiveColor Color
finalinherited
toggleActiveTextColor Color
finalinherited
toggleFontSize double
finalinherited
toggleInactiveColor Color
finalinherited
toggleInactiveTextColor Color
finalinherited
toggleMinHeight double
finalinherited
toggleMinWidth double
/////////////////////////////// /// Toggle Section /////
finalinherited
underLineWidget Widget?
finalinherited

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