Created
December 26, 2019 18:07
-
-
Save frank06/92b04dc40bad2461b331156cbc824893 to your computer and use it in GitHub Desktop.
library test
This file contains 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/widgets.dart'; | |
main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(context) => Center( | |
child: Text(Animal().move(), textDirection: TextDirection.ltr) | |
); | |
} |
This file contains 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
class Animal { | |
move() => "MOVING!"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment