diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f9219d8..8c2c410 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,8 +15,6 @@ jobs: channel: - 'stable' - 'beta' - - 'dev' - - 'master' package: - 'performance' fail-fast: false @@ -25,14 +23,14 @@ jobs: steps: - uses: actions/checkout@v2.3.5 - - uses: subosito/flutter-action@v1.5.3 + - uses: subosito/flutter-action@v2 with: channel: ${{ matrix.channel }} - name: pub get run: flutter pub get working-directory: ${{ env.working-directory }} - name: dart format - run: dart format . --fix --set-exit-if-changed + run: dart format . --set-exit-if-changed working-directory: ${{ env.working-directory }} - run: flutter analyze working-directory: ${{ env.working-directory }} @@ -46,8 +44,6 @@ jobs: channel: - 'stable' - 'beta' - - 'dev' - - 'master' package: - 'performance' fail-fast: false @@ -56,7 +52,7 @@ jobs: steps: - uses: actions/checkout@v2.3.5 - - uses: subosito/flutter-action@v1.5.3 + - uses: subosito/flutter-action@v2 with: channel: ${{ matrix.channel }} - run: flutter pub get diff --git a/.github/workflows/hosting.yml b/.github/workflows/hosting.yml index 9c59b23..aa6079c 100644 --- a/.github/workflows/hosting.yml +++ b/.github/workflows/hosting.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2.3.5 with: persist-credentials: false - - uses: subosito/flutter-action@v1.5.3 + - uses: subosito/flutter-action@v2 with: channel: 'stable' diff --git a/performance/example/lib/main.dart b/performance/example/lib/main.dart index e2df2bf..32384ac 100644 --- a/performance/example/lib/main.dart +++ b/performance/example/lib/main.dart @@ -114,6 +114,7 @@ class _HomePageState extends State<_HomePage> { children: [ const Text('play funvas'), Switch( + // ignore: deprecated_member_use activeColor: Theme.of(context).colorScheme.secondary, value: _funvasPlaying, @@ -130,6 +131,7 @@ class _HomePageState extends State<_HomePage> { children: [ const Text('enable overlay'), Switch( + // ignore: deprecated_member_use activeColor: Theme.of(context).colorScheme.secondary, value: _overlayEnabled,