Make MimicableState public again
This state object has a public API.
This commit is contained in:
parent
922aece1d5
commit
6c30e01bef
@ -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 {
|
|||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user