Commit 6c30e01b authored by Adam Barth's avatar Adam Barth

Make MimicableState public again

This state object has a public API.
parent 922aece1
...@@ -9,7 +9,7 @@ import 'package:sky/src/widgets/framework.dart'; ...@@ -9,7 +9,7 @@ import 'package:sky/src/widgets/framework.dart';
class MimicableKey { class MimicableKey {
MimicableKey._(this._state); MimicableKey._(this._state);
final _MimicableState _state; final MimicableState _state;
Rect get globalBounds => _state._globalBounds; Rect get globalBounds => _state._globalBounds;
...@@ -35,10 +35,10 @@ class Mimicable extends StatefulComponent { ...@@ -35,10 +35,10 @@ class Mimicable extends StatefulComponent {
final Widget child; final Widget child;
_MimicableState createState() => new _MimicableState(); MimicableState createState() => new MimicableState();
} }
class _MimicableState extends State<Mimicable> { class MimicableState extends State<Mimicable> {
Size _size; Size _size;
bool _beingMimicked = false; bool _beingMimicked = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment