From f1b8be901c80701ab45f1f704a9323d045747550 Mon Sep 17 00:00:00 2001 From: Soonil Hong Date: Tue, 9 Nov 2021 22:52:52 -0500 Subject: [PATCH] Unselect all text field --- lib/shared/SystemConsts.dart | 2 +- lib/shared/my_converter.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/shared/SystemConsts.dart b/lib/shared/SystemConsts.dart index 5b2a49f..aca279e 100644 --- a/lib/shared/SystemConsts.dart +++ b/lib/shared/SystemConsts.dart @@ -1,3 +1,3 @@ mixin SystemConsts { - static String version = '1.0.3'; + static String version = '1.0.4'; } diff --git a/lib/shared/my_converter.dart b/lib/shared/my_converter.dart index 579b7f3..c66d60f 100644 --- a/lib/shared/my_converter.dart +++ b/lib/shared/my_converter.dart @@ -60,6 +60,7 @@ class _MyConverterState extends State { border: const OutlineInputBorder(), ), onTap: () { + clearSelection(); txtValue.selection = TextSelection(baseOffset: 0, extentOffset: txtValue.value.text.length); }, onChanged: (t) {