From 455af755422be5c09477aa6698d0960e695affff Mon Sep 17 00:00:00 2001 From: illia-romanenko <442086+illia-romanenko@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:59:30 -0500 Subject: [PATCH] Release 0.1.1 + remove deprecated MaterialStateMouseCursor --- CHANGELOG.md | 5 +++++ lib/src/core/controllers/language_tool_controller.dart | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b6b8dc..ec9289c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.1.1 +- Add some properties (cursorColor, onTextChange, focusNode, onTextSubmitted, ...) for TextField + Credits: @dab246 +- Replace deprecated MaterialStateMouseCursor + ## 0.1.0 - Moved implementation into the `src` directory diff --git a/lib/src/core/controllers/language_tool_controller.dart b/lib/src/core/controllers/language_tool_controller.dart index 1aa9bed..6df04e2 100644 --- a/lib/src/core/controllers/language_tool_controller.dart +++ b/lib/src/core/controllers/language_tool_controller.dart @@ -233,7 +233,7 @@ class LanguageToolController extends TextEditingController { mistake.offset, min(mistake.endOffset, text.length), ), - mouseCursor: MaterialStateMouseCursor.textable, + mouseCursor: WidgetStateMouseCursor.textable, style: style?.copyWith( backgroundColor: mistakeColor.withOpacity( highlightStyle.backgroundOpacity,