Created
April 21, 2021 17:56
-
-
Save jonahwilliams/c9db39415abc26a8f512096aa34ced1a to your computer and use it in GitHub Desktop.
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
/ Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/widgets.dart'; | |
void main() => | |
runApp(Example()); | |
class Example extends StatefulWidget { | |
@override | |
_ExampleState createState() => _ExampleState(); | |
} | |
class _ExampleState extends State<Example> { | |
@override | |
void reassemble() { | |
print('hello'); | |
super.reassemble(); | |
} | |
@override | |
Widget build(BuildContext context) { | |
return const Center( | |
child: | |
Text('Hello, world!', | |
key: Key('title'), | |
textDirection: TextDirection.ltr | |
) | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment