demo example won't compile - missing code fragment
abulka opened this issue · comments
Your example at the bottom of https://pub.dev/packages/number_inc_dec/example won't compile or run.
sWidget { <------ MISSING CODE FRAGMENT ON JUST THIS LINE
const Example1({
Key key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return NumberInputWithIncrementDecrement(
controller: TextEditingController(),
);
}
}
should be
class Example1 extends StatelessWidget { <------ FIXED
const Example1({
Key key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return NumberInputWithIncrementDecrement(
controller: TextEditingController(),
);
}
}
Thanks a lot for reporting this. I will update the example. 👍