abstract class _TestState<T extends StatefulWidget>
extends State<T>
with ChangeNotifier {
@override
Widget build(BuildContext context);
}
class _TestWidgetState extends _TestState<TestWidget> {
@override
Widget build(BuildContext context) => const Text( "foo" );
}
class TestWidget extends StatefulWidget {
@override
State<StatefulWidget> createState() => new _TestWidgetState();
}
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ian Hickson
😸