Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The underline sticks together and enters from right to left! #29

Open
aliazizi77 opened this issue Jan 15, 2022 · 2 comments
Open

The underline sticks together and enters from right to left! #29

aliazizi77 opened this issue Jan 15, 2022 · 2 comments

Comments

@aliazizi77
Copy link

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) {}, ),

@awaik
Copy link
Owner

awaik commented Jan 26, 2022

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

@aliazizi77
Copy link
Author

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', ''),
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants