Skip to content

Instantly share code, notes, and snippets.

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