Skip to content

Commit

Permalink
create WidgetModule constructor with Key param
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderShirokih committed Jul 27, 2021
1 parent 0d89c5c commit 7ba0dc1
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -12,6 +12,7 @@ _debugPrintModular(String text) {
}

abstract class WidgetModule extends StatelessWidget implements Module {

Widget get view;

@override
Expand All @@ -28,7 +29,7 @@ abstract class WidgetModule extends StatelessWidget implements Module {

final _FakeModule _fakeModule = _FakeModule();

WidgetModule() {
WidgetModule({Key? key}): super(key: key) {
// ignore: invalid_use_of_visible_for_testing_member
_fakeModule.changeBinds(binds);
}
Expand Down

0 comments on commit 7ba0dc1

Please sign in to comment.