ChatComposer constructor
const
ChatComposer({
- TextStyle? textStyle,
- int minLines = 1,
- int maxLines = 6,
- InputDecoration? decoration = const InputDecoration(),
- EdgeInsetsGeometry padding = const EdgeInsets.only(top: 16.0),
Creates a ChatComposer with the given textStyle
, line limits,
decoration
, and padding
.
Implementation
const ChatComposer({
this.textStyle,
this.minLines = 1,
this.maxLines = 6,
this.decoration = const InputDecoration(),
this.padding = const EdgeInsets.only(top: 16.0),
}) : builder = null;