-
Notifications
You must be signed in to change notification settings - Fork 45
Feature/#336 base screen #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| class BaseScreen extends StatelessWidget { | ||
| final bool isScrollable; | ||
| final bool useSlivers; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea to add more functionality, we can do even better imo
Add the ability to show an error by having a String and/or a onRetryPressed. But do make the visualisation a separate widget like you do with _content and _header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok if i do this in a separate PR? There have been a lot of changes after this including the redesign, so might be better to add this after those are merged (or based upon those branches)
fixes #336