Created
March 8, 2021 07:29
-
-
Save MarcinusX/1e23cbb91c41d6e8f41df082295d3ccf to your computer and use it in GitHub Desktop.
Broken RTL on Web example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() => runApp(RtlBrokenApp()); | |
class RtlBrokenApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: Padding( | |
padding: const EdgeInsets.all(64), | |
child: TextField( | |
textDirection: TextDirection.rtl, | |
), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment