flutter_verification_code icon indicating copy to clipboard operation
flutter_verification_code copied to clipboard

The underline sticks together and enters from right to left!

Open aliazizi77 opened this issue 4 years ago • 2 comments

Screen Shot 1400-10-25 at 23 07 08

VerificationCode( length: 3, textStyle: TextStyle(fontSize: 20, color: Colors.black), underlineColor: Colors.black, keyboardType: TextInputType.number, underlineUnfocusedColor: Colors.black, onCompleted: (value) { setState(() { _code = value; }); }, onEditing: (value) {}, ),

aliazizi77 avatar Jan 15 '22 19:01 aliazizi77

hmm, I've copied\pasted your code, everything looks normal. Can you please provide me with flutter doctor -v results and the full code of your screen?

Screenshot 2022-01-26 at 23 10 50

awaik avatar Jan 26 '22 20:01 awaik

The appearance of my project is right to left I checked for right-to-left apps.

If you add the following code to the main.dart file, and use flutter_localizations package, you can check better

  localizationsDelegates: [

// AppLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], supportedLocales: [ // const Locale('en', ''), const Locale('fa', ''), ],

aliazizi77 avatar Jan 28 '22 16:01 aliazizi77