fix: change _controller from a getter to a late field initialized during registration and add a scope registration check.
#977
This file contains hidden or 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
| name: Build | |
| on: | |
| push: | |
| paths: | |
| - '**.dart' | |
| - '**.yaml' | |
| - '**.yml' | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.10.0' | |
| cache: true | |
| cache-key: 'flutter-macos-stable-3.10.0-apple' | |
| cache-path: '${{ runner.tool_cache }}/flutter/macos-stable-3.10.0-apple' | |
| pub-cache-key: 'flutter-pub-macos-stable-3.10.0-apple' | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Code Formatting | |
| run: dart format --set-exit-if-changed . | |
| - name: Code Analyse | |
| run: dart analyze | |
| - name: Check Publish Warnings | |
| run: flutter pub publish --dry-run |