Skip to content

Instantly share code, notes, and snippets.

@jonahwilliams
Created April 21, 2021 17:56
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 jonahwilliams/c9db39415abc26a8f512096aa34ced1a to your computer and use it in GitHub Desktop.
Save jonahwilliams/c9db39415abc26a8f512096aa34ced1a to your computer and use it in GitHub Desktop.
/ 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