2
votes

I want to build a TextField for numbers in Flutter/Dart.

For decimal numbers, I want to use commas instead of dot ( = Germany).

enter image description here

I detected the problem with Samsung Galaxy S5 and S6.

On other Smartphones with GBoard installed, there is both, command and dot, available.

Does anyone else have this problem?

keyboardType:

TextInputType.numberWithOptions(decimal: true,),
1
which locale you are currently using? - Saed Nabil
yes i tried the following: ``` return MaterialApp( supportedLocales: [ const Locale("de", "DE"), ], locale: Locale("de", "DE"), localizationsDelegates: [ GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, ], ); ``` - Toby

1 Answers

0
votes

Adding extra row to the android default keyboard is not possible for this you have to go to the custom keyboard.

You can check custom keyboard example here