Skip to content
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

feat: custom front-layer shape in BackdropScaffold #116

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

daadu
Copy link
Member

@daadu daadu commented Jan 5, 2022

  • added frontLayerShape in-place of frontLayerBorderRadius
  • deprecating frontLayerBorderRadius in back-compat way

Closes #115

@daadu
Copy link
Member Author

daadu commented Jan 5, 2022

tested with example app with following code:

BackdropScaffold(
    ...
    frontLayerShape: const BeveledRectangleBorder(
          borderRadius: BorderRadius.only(
            topLeft: Radius.circular(16),
            topRight: Radius.circular(16),
          ),
        ),
    ...
)

Screenshot from 2022-01-05 19-31-56

@daadu daadu requested a review from WieFel January 5, 2022 14:08
@daadu daadu merged commit 715f6d7 into fluttercommunity:master Jan 6, 2022
@daadu daadu deleted the feat-shape branch January 6, 2022 06:51
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.

Custom shape on the front layer
2 participants