Added configurable border width and disable flag for the shadow on tapping (helpful if you want a flat button and the elevation is 0) #234
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 workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Dart | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
flutter_test: | |
name: Run flutter test and analyze | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: "12.x" | |
distribution: 'zulu' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: Install Dependencies | |
run: flutter pub get | |
- name: Format | |
run: dart format --set-exit-if-changed . | |
- name: Analyze | |
run: flutter analyze --fatal-infos --fatal-warnings . | |