Skip to content

Conversation

@fareesh
Copy link

@fareesh fareesh commented Mar 4, 2021

No description provided.

Copy link

@awhitford awhitford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this compare to #39?

@required this.child,
}) : assert(child != null),
required this.child,
}) : assert(child != null),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assertions are no longer necessary since the types are not nullable now.

Widget sut(bool inAsyncCall, Offset offset) {
Widget sut(bool inAsyncCall, Offset? offset) {
return MaterialApp(
home: new ModalProgressHUD(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new keyword is unnecessary now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants