fix activeId provider

- read -> watch
- added length back
This commit is contained in:
DenserMeerkat
2023-10-20 18:49:52 +05:30
parent 1deafdc41a
commit 3edac6988b
2 changed files with 4 additions and 4 deletions

View File

@ -55,9 +55,7 @@ class _HeaderFieldState extends State<HeaderField> {
suggestionsCallback: headerSuggestionCallback,
suggestionsBoxDecoration: suggestionBoxDecorations(context),
textFieldConfiguration: TextFieldConfiguration(
onChanged: (s) {
widget.onChanged?.call(s);
},
onChanged: widget.onChanged,
controller: controller,
style: kCodeStyle.copyWith(
color: colorScheme.onSurface,