We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4bdb78 commit ca2dbc4Copy full SHA for ca2dbc4
1 file changed
lib/ui/common_view/address_field_widget.dart
@@ -1,3 +1,5 @@
1
+import 'dart:io';
2
+
3
import 'package:flutter/material.dart';
4
5
class AddressFieldWidget extends StatelessWidget {
@@ -25,7 +27,9 @@ class AddressFieldWidget extends StatelessWidget {
25
27
child: TextField(
26
28
enabled: isEnableIP ?? true,
29
controller: ipTextController,
- keyboardType: const TextInputType.numberWithOptions(decimal: true),
30
+ keyboardType: Platform.isIOS
31
+ ? const TextInputType.numberWithOptions(signed: true)
32
+ : const TextInputType.numberWithOptions(decimal: true),
33
decoration: InputDecoration(
34
hintText: '192.168.1.100',
35
hintStyle: const TextStyle(color: Colors.black26),
0 commit comments