Skip to content

Instantly share code, notes, and snippets.

@kasperpeulen
Created November 26, 2021 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasperpeulen/a41e0ebfcb56957cd419da10269d5d09 to your computer and use it in GitHub Desktop.
Save kasperpeulen/a41e0ebfcb56957cd419da10269d5d09 to your computer and use it in GitHub Desktop.
Providing context
import 'package:flutter/widgets.dart';
void main() {
runApp(
Directionality(
textDirection: TextDirection.ltr,
child: Text('Hello World!'),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment