PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, July 10, 2022

[FIXED] how to change the text direction of the error message for the TextFormField to make it right to left

 July 10, 2022     flutter, message, text     No comments   

Issue

InputDecoration has the property for changing it's style but can't find anything about it's direction

text form error


Solution

Wrap your TextFormField inside Directionality Widget and set the direction to rtl like this :

Directionality(
        textDirection: TextDirection.rtl,
        child: TextFormField()
     )


Answered By - Ma Jeed
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing