This commit is contained in:
poka 2023-02-16 22:21:43 +01:00
parent 612465c91e
commit 4f241d597c
1 changed files with 4 additions and 3 deletions

View File

@ -118,6 +118,7 @@ class _BoguiState extends ConsumerState<Bogui> {
(() => _handleValidation()), (() => _handleValidation()),
}, },
child: TextField( child: TextField(
autocorrect: false,
scrollPhysics: const NeverScrollableScrollPhysics(), scrollPhysics: const NeverScrollableScrollPhysics(),
focusNode: promptFocus, focusNode: promptFocus,
controller: ref.read(gpt.prompt), controller: ref.read(gpt.prompt),
@ -127,17 +128,17 @@ class _BoguiState extends ConsumerState<Bogui> {
maxLines: null, maxLines: null,
keyboardType: TextInputType.multiline, keyboardType: TextInputType.multiline,
cursorColor: orangeC, cursorColor: orangeC,
style: TextStyle(color: Colors.grey[400], fontSize: 16), style: TextStyle(color: Colors.grey[400], fontSize: 14),
decoration: InputDecoration( decoration: InputDecoration(
hintText: "Qu'ils aillent tous se faire recompiler",
filled: true, filled: true,
helperText: helperText:
"Laissez-le autocompléter votre texte plutôt que de lui poser une question...", "Laissez-le autocompléter votre texte plutôt que de lui poser une question...",
helperStyle: const TextStyle(fontSize: 10), helperStyle: const TextStyle(fontSize: 10),
hintText: "Qu'ils aillent tous se faire recompiler",
hintStyle: TextStyle( hintStyle: TextStyle(
color: Colors.grey[50], color: Colors.grey[50],
fontWeight: FontWeight.w100, fontWeight: FontWeight.w100,
fontSize: 14), fontSize: 12),
// fillColor: Colors.white, // fillColor: Colors.white,
prefixIconConstraints: const BoxConstraints( prefixIconConstraints: const BoxConstraints(
minHeight: 32, minHeight: 32,