|
|
@ -474,6 +474,9 @@ class InputBar extends StatelessWidget {
|
|
|
|
keyboardType: keyboardType!,
|
|
|
|
keyboardType: keyboardType!,
|
|
|
|
textInputAction: textInputAction,
|
|
|
|
textInputAction: textInputAction,
|
|
|
|
autofocus: autofocus!,
|
|
|
|
autofocus: autofocus!,
|
|
|
|
|
|
|
|
inputFormatters: [
|
|
|
|
|
|
|
|
LengthLimitingTextInputFormatter((maxPDUSize / 3).floor()),
|
|
|
|
|
|
|
|
],
|
|
|
|
onSubmitted: (text) {
|
|
|
|
onSubmitted: (text) {
|
|
|
|
// fix for library for now
|
|
|
|
// fix for library for now
|
|
|
|
// it sets the types for the callback incorrectly
|
|
|
|
// it sets the types for the callback incorrectly
|
|
|
|