Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created March 8, 2021 07:29
Show Gist options
  • Save MarcinusX/1e23cbb91c41d6e8f41df082295d3ccf to your computer and use it in GitHub Desktop.
Save MarcinusX/1e23cbb91c41d6e8f41df082295d3ccf to your computer and use it in GitHub Desktop.
Broken RTL on Web example
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