-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add theme extensions for wolt modal sheet #44
Conversation
3254303
to
3427ac8
Compare
d29ee26
to
f5c2d72
Compare
f5c2d72
to
d85d6f4
Compare
extensions: const <ThemeExtension>[ | ||
WoltModalSheetThemeData( | ||
heroImageHeight: _heroImageHeight, | ||
topBarShadowColor: _lightThemeShadowColor, | ||
modalBarrierColor: Colors.black54, | ||
), | ||
], | ||
), |
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.
Nice!
@@ -93,7 +93,7 @@ class WoltModalSheetPage { | |||
/// widget often serves as the close button, utilized to close the modal sheet. Together, these | |||
/// widgets provide clear and intuitive navigational control, differentiating themselves from | |||
/// the top bar by focusing specifically on directional navigation within the interface. | |||
final double navigationBarHeight; | |||
final double? navBarHeight; |
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.
+1 for shorter yet clear name
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.
Excellent PR
LGTM
Adds theme extensions and fixes #9
theme_extensions.mov
playground.app.mov