mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-30 11:54:22 +01:00
Set the curson position at the end of the value in the textfield.
This commit is contained in:
@@ -122,9 +122,13 @@ class _WalletNameFormState extends State<WalletNameForm> {
|
||||
setState(() {
|
||||
_controller.text = rName;
|
||||
_walletNewVM.name = rName;
|
||||
_controller.selection = TextSelection.fromPosition(
|
||||
TextPosition(offset: _controller.text.length));
|
||||
});
|
||||
},
|
||||
icon: Icon(Icons.refresh),
|
||||
icon: Image.asset(
|
||||
'assets/images/refresh_icon.png',
|
||||
),
|
||||
),
|
||||
hintStyle: TextStyle(
|
||||
fontSize: 18.0,
|
||||
|
||||
Reference in New Issue
Block a user