blob: 737c56543e75f7846f1e84e1a0ffef1a383f3036 [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
class RenderFoo extends RenderObject {
FooConstraints get constraints => super.constraints as FooConstraints;
}
class FooConstraints extends Constraints {
String get axis => "hello";
}
class Constraints {}
class RenderObject {
Constraints get constraints => new Constraints();
RenderObject get renderObject => this;
}