• Hixie's avatar
    fn3: Binding to RenderView · 555138e6
    Hixie authored
    In the old world, we had two ways to bind a Widget tree to a
    RenderObject node, one way for RenderView and one mostly untested way
    for other cases (it's only tested by the spinning_mixed.dart demo). For
    fn3, I made these the same code path.
    
    This patch also introduces GlobalKey, though the GlobalKey logic isn't
    hooked in yet.
    
    This is Hello World in the new world:
    
    ```dart
    import 'package:sky/src/fn3.dart';
    
    void main() {
      runApp(new Text('Hello World!'));
    }
    ```
    555138e6
stateful_component_test.dart 2.02 KB