Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() => runApp(new MyApp());
- class MyApp extends StatelessWidget {
- Widget build(BuildContext context) {
- return new SizedBox(
- width: 200.0,
- height: 300.0,
- child: new Card(
- color: Colors.red,
- child: new Directionality(
- child: const Text('Hello World!'),
- textDirection: TextDirection.ltr,
- ),
- ),
- );
- }
- }
Add Comment
Please, Sign In to add comment