-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow safe area configuration for bottom sheets (#2)
Allows the `ignoreSafeArea` param for the showBottomSheet funciton. This setting defaults to "true", such that any `SafeArea` widget is ignored in a bottom sheet (barring the bottom padding value). When set to "false", a safe area widget is respected and the bottomsheet padded accordingly. This is most likely used with "fullscreen" bottom sheets.
- Loading branch information
Showing
11 changed files
with
150 additions
and
39 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Test Packages | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: tests-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
name: Lint and Analyze | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: stable | ||
- run: dart pub global activate melos | ||
- run: melos bootstrap | ||
- run: melos run build_runner | ||
- run: melos run lint | ||
|
||
test: | ||
name: Test Package "${{ matrix.package }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- package: fluorflow | ||
executor: flutter | ||
- package: fluorflow_generator | ||
executor: dart | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: stable | ||
- run: dart pub global activate melos | ||
- run: melos bootstrap | ||
- run: melos run build_runner | ||
- run: ${{ matrix.executor }} pub get | ||
working-directory: packages/${{ matrix.package }} | ||
- run: ${{ matrix.executor }} test | ||
working-directory: packages/${{ matrix.package }} | ||
|
||
test_result: | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
name: Test Results | ||
needs: | ||
- test | ||
steps: | ||
- name: Check test matrix status | ||
if: ${{ needs.test.result != 'success' }} | ||
run: exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/fluorflow/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.