├── web ├── .nojekyll ├── CNAME ├── favicon.ico ├── favicon-16x16.png ├── favicon-32x32.png ├── mstile-150x150.png ├── apple-touch-icon.png ├── android-chrome-192x192.png ├── android-chrome-512x512.png ├── browserconfig.xml ├── manifest.json ├── index.html └── safari-pinned-tab.svg ├── android ├── fastlane │ ├── metadata │ │ └── android │ │ │ └── en-US │ │ │ ├── video.txt │ │ │ ├── title.txt │ │ │ ├── short_description.txt │ │ │ ├── images │ │ │ └── icon.png │ │ │ ├── changelogs │ │ │ └── 22.txt │ │ │ └── full_description.txt │ ├── Pluginfile │ ├── Appfile │ ├── README.md │ └── Fastfile ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── playstore-icon.png │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-ldpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── xml │ │ │ │ │ └── locales_config.xml │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── rodydavis │ │ │ │ │ └── flutter_piano │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── ios ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── Icon-Small-50.png │ │ ├── Icon-Small-50@2x.png │ │ ├── iTunesArtwork@1x.png │ │ ├── iTunesArtwork@2x.png │ │ ├── iTunesArtwork@3x.png │ │ ├── AppIcon.appiconset │ │ │ ├── ios-1024.png │ │ │ └── Contents.json │ │ └── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist ├── RunnerTests │ └── RunnerTests.swift ├── fastlane │ ├── Appfile │ ├── README.md │ └── Fastfile ├── .gitignore ├── Podfile └── Podfile.lock ├── .gitattributes ├── .firebaserc ├── lib ├── src │ └── version.dart ├── main.dart ├── presentation │ ├── widget │ │ ├── locale.dart │ │ ├── color_role.dart │ │ ├── piano_section.dart │ │ ├── color_picker.dart │ │ └── piano_view.dart │ └── view │ │ └── app.dart └── l10n │ ├── app_zh.arb │ ├── app_ko.arb │ ├── app_ja.arb │ ├── app_en.arb │ ├── app_de.arb │ ├── app_ru.arb │ ├── app_fr.arb │ └── app_es.arb ├── assets ├── images │ ├── icon.png │ └── repository-open-graph-template.png └── sounds │ ├── shot │ ├── -1_A.mp3 │ ├── -1_B.mp3 │ ├── 0_A.mp3 │ ├── 0_Ab.mp3 │ ├── 0_B.mp3 │ ├── 0_C.mp3 │ ├── 0_Cb.mp3 │ ├── 0_D.mp3 │ ├── 0_Db.mp3 │ ├── 0_E.mp3 │ ├── 0_F.mp3 │ ├── 0_Fb.mp3 │ ├── 0_G.mp3 │ ├── 0_Gb.mp3 │ ├── 1_A.mp3 │ ├── 1_Ab.mp3 │ ├── 1_B.mp3 │ ├── 1_C.mp3 │ ├── 1_Cb.mp3 │ ├── 1_D.mp3 │ ├── 1_Db.mp3 │ ├── 1_E.mp3 │ ├── 1_F.mp3 │ ├── 1_Fb.mp3 │ ├── 1_G.mp3 │ ├── 1_Gb.mp3 │ ├── 2_A.mp3 │ ├── 2_Ab.mp3 │ ├── 2_B.mp3 │ ├── 2_C.mp3 │ ├── 2_Cb.mp3 │ ├── 2_D.mp3 │ ├── 2_Db.mp3 │ ├── 2_E.mp3 │ ├── 2_F.mp3 │ ├── 2_Fb.mp3 │ ├── 2_G.mp3 │ ├── 2_Gb.mp3 │ ├── 3_A.mp3 │ ├── 3_Ab.mp3 │ ├── 3_B.mp3 │ ├── 3_C.mp3 │ ├── 3_Cb.mp3 │ ├── 3_D.mp3 │ ├── 3_Db.mp3 │ ├── 3_E.mp3 │ ├── 3_F.mp3 │ ├── 3_Fb.mp3 │ ├── 3_G.mp3 │ ├── 3_Gb.mp3 │ ├── 4_A.mp3 │ ├── 4_Ab.mp3 │ ├── 4_B.mp3 │ ├── 4_C.mp3 │ ├── 4_Cb.mp3 │ ├── 4_D.mp3 │ ├── 4_Db.mp3 │ ├── 4_E.mp3 │ ├── 4_F.mp3 │ ├── 4_Fb.mp3 │ ├── 4_G.mp3 │ ├── 4_Gb.mp3 │ ├── 5_A.mp3 │ ├── 5_Ab.mp3 │ ├── 5_B.mp3 │ ├── 5_C.mp3 │ ├── 5_Cb.mp3 │ ├── 5_D.mp3 │ ├── 5_Db.mp3 │ ├── 5_E.mp3 │ ├── 5_F.mp3 │ ├── 5_Fb.mp3 │ ├── 5_G.mp3 │ ├── 5_Gb.mp3 │ ├── 6_A.mp3 │ ├── 6_Ab.mp3 │ ├── 6_B.mp3 │ ├── 6_C.mp3 │ ├── 6_Cb.mp3 │ ├── 6_D.mp3 │ ├── 6_Db.mp3 │ ├── 6_E.mp3 │ ├── 6_F.mp3 │ ├── 6_Fb.mp3 │ ├── 6_G.mp3 │ ├── 6_Gb.mp3 │ ├── 7_C.mp3 │ └── -1_Ab.mp3 │ └── sustain │ ├── 0_A.mp3 │ ├── 0_B.mp3 │ ├── 0_C.mp3 │ ├── 0_D.mp3 │ ├── 0_E.mp3 │ ├── 0_F.mp3 │ ├── 0_G.mp3 │ ├── 1_A.mp3 │ ├── 1_B.mp3 │ ├── 1_C.mp3 │ ├── 1_D.mp3 │ ├── 1_E.mp3 │ ├── 1_F.mp3 │ ├── 1_G.mp3 │ ├── 2_A.mp3 │ ├── 2_B.mp3 │ ├── 2_C.mp3 │ ├── 2_D.mp3 │ ├── 2_E.mp3 │ ├── 2_F.mp3 │ ├── 2_G.mp3 │ ├── 3_A.mp3 │ ├── 3_B.mp3 │ ├── 3_C.mp3 │ ├── 3_D.mp3 │ ├── 3_E.mp3 │ ├── 3_F.mp3 │ ├── 3_G.mp3 │ ├── 4_A.mp3 │ ├── 4_B.mp3 │ ├── 4_C.mp3 │ ├── 4_D.mp3 │ ├── 4_E.mp3 │ ├── 4_F.mp3 │ ├── 4_G.mp3 │ ├── 5_A.mp3 │ ├── 5_B.mp3 │ ├── 5_C.mp3 │ ├── 5_D.mp3 │ ├── 5_E.mp3 │ ├── 5_F.mp3 │ ├── 5_G.mp3 │ ├── 6_A.mp3 │ ├── 6_B.mp3 │ ├── 6_C.mp3 │ ├── 6_D.mp3 │ ├── 6_E.mp3 │ ├── 6_F.mp3 │ ├── 6_G.mp3 │ ├── 7_C.mp3 │ ├── -1_A.mp3 │ ├── -1_Ab.mp3 │ ├── -1_B.mp3 │ ├── 0_Ab.mp3 │ ├── 0_Cb.mp3 │ ├── 0_Db.mp3 │ ├── 0_Fb.mp3 │ ├── 0_Gb.mp3 │ ├── 1_Ab.mp3 │ ├── 1_Cb.mp3 │ ├── 1_Db.mp3 │ ├── 1_Fb.mp3 │ ├── 1_Gb.mp3 │ ├── 2_Ab.mp3 │ ├── 2_Cb.mp3 │ ├── 2_Db.mp3 │ ├── 2_Fb.mp3 │ ├── 2_Gb.mp3 │ ├── 3_Ab.mp3 │ ├── 3_Cb.mp3 │ ├── 3_Db.mp3 │ ├── 3_Fb.mp3 │ ├── 3_Gb.mp3 │ ├── 4_Ab.mp3 │ ├── 4_Cb.mp3 │ ├── 4_Db.mp3 │ ├── 4_Fb.mp3 │ ├── 4_Gb.mp3 │ ├── 5_Ab.mp3 │ ├── 5_Cb.mp3 │ ├── 5_Db.mp3 │ ├── 5_Fb.mp3 │ ├── 5_Gb.mp3 │ ├── 6_Ab.mp3 │ ├── 6_Cb.mp3 │ ├── 6_Db.mp3 │ ├── 6_Fb.mp3 │ ├── 6_Gb.mp3 │ └── 7_Cb.mp3 ├── screenshots ├── ios_1.PNG ├── ios_2.PNG ├── ios_3.PNG ├── android_1.jpg ├── android_2.jpg └── android_3.jpg ├── l10n.yaml ├── icons ├── android │ ├── playstore-icon.png │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ ├── mipmap-ldpi │ │ └── ic_launcher.png │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ └── mipmap-xxxhdpi │ │ └── ic_launcher.png ├── ios │ ├── iTunesArtwork@1x.png │ ├── iTunesArtwork@2x.png │ ├── iTunesArtwork@3x.png │ ├── AppIcon.appiconset │ │ ├── ItunesArtwork@2x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ ├── Icon-App-83.5x83.5@2x.png │ │ └── Contents.json │ └── README.md ├── imessenger │ ├── icon-messages-app-27x20@1x.png │ ├── icon-messages-app-27x20@2x.png │ ├── icon-messages-app-27x20@3x.png │ ├── icon-messages-app-iPhone-60x45@1x.png │ ├── icon-messages-app-iPhone-60x45@2x.png │ ├── icon-messages-app-iPhone-60x45@3x.png │ ├── icon-messages-app-store-1024x768.png │ ├── icon-messages-transcript-32x24@1x.png │ ├── icon-messages-transcript-32x24@2x.png │ ├── icon-messages-transcript-32x24@3x.png │ ├── icon-messages-app-iPadAir-67x50@2x.png │ └── icon-messages-app-iPadAir-74x55@2x.png └── watchkit │ └── AppIcon.appiconset │ ├── Icon-24@2x.png │ ├── Icon-29@2x.png │ ├── Icon-29@3x.png │ ├── Icon-40@2x.png │ ├── Icon-44@2x.png │ ├── Icon-86@2x.png │ ├── Icon-98@2x.png │ ├── Icon-27.5@2x.png │ └── Contents.json ├── macos ├── Runner │ ├── Configs │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ ├── Warnings.xcconfig │ │ └── AppInfo.xcconfig │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── mac-128.png │ │ │ ├── mac-16.png │ │ │ ├── mac-256.png │ │ │ ├── mac-32.png │ │ │ ├── mac-512.png │ │ │ ├── mac-128@2x.png │ │ │ ├── mac-16@2x.png │ │ │ ├── mac-256@2x.png │ │ │ ├── mac-32@2x.png │ │ │ ├── mac-512@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Release.entitlements │ ├── DebugProfile.entitlements │ ├── MainFlutterWindow.swift │ └── Info.plist ├── .gitignore ├── Flutter │ ├── Flutter-Debug.xcconfig │ ├── Flutter-Release.xcconfig │ └── GeneratedPluginRegistrant.swift ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Runner.xcodeproj │ └── project.xcworkspace │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── RunnerTests │ └── RunnerTests.swift ├── fastlane │ ├── Appfile │ ├── README.md │ └── Fastfile ├── Podfile └── Podfile.lock ├── windows ├── runner │ ├── resources │ │ └── app_icon.ico │ ├── resource.h │ ├── utils.h │ ├── runner.exe.manifest │ ├── flutter_window.h │ ├── main.cpp │ ├── CMakeLists.txt │ ├── utils.cpp │ ├── flutter_window.cpp │ ├── Runner.rc │ └── win32_window.h ├── .gitignore └── flutter │ ├── generated_plugin_registrant.h │ ├── generated_plugin_registrant.cc │ ├── generated_plugins.cmake │ └── CMakeLists.txt ├── firebase.json ├── CHANGELOG.md ├── .theia └── launch.json ├── .github ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md └── workflows │ └── main.yml ├── .metadata ├── .gitpod.yml ├── pubspec.yaml ├── analysis_options.yaml ├── Dockerfile └── .gitignore /web/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/CNAME: -------------------------------------------------------------------------------- 1 | pocketpiano.app -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/video.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/title.txt: -------------------------------------------------------------------------------- 1 | The Pocket Piano -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "the-pocket-piano" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/favicon.ico -------------------------------------------------------------------------------- /lib/src/version.dart: -------------------------------------------------------------------------------- 1 | // Generated code. Do not modify. 2 | const packageVersion = '1.7.0+409'; 3 | -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | Pocket Sized Piano, Full Sized Features -------------------------------------------------------------------------------- /assets/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/images/icon.png -------------------------------------------------------------------------------- /screenshots/ios_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/ios_1.PNG -------------------------------------------------------------------------------- /screenshots/ios_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/ios_2.PNG -------------------------------------------------------------------------------- /screenshots/ios_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/ios_3.PNG -------------------------------------------------------------------------------- /web/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/favicon-16x16.png -------------------------------------------------------------------------------- /web/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/favicon-32x32.png -------------------------------------------------------------------------------- /web/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/mstile-150x150.png -------------------------------------------------------------------------------- /web/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/apple-touch-icon.png -------------------------------------------------------------------------------- /assets/sounds/shot/-1_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/-1_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/-1_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/-1_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/0_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/0_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/1_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/1_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/2_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/2_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/3_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/3_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/4_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/4_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/5_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/5_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/6_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/6_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/shot/7_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/7_C.mp3 -------------------------------------------------------------------------------- /l10n.yaml: -------------------------------------------------------------------------------- 1 | arb-dir: lib/l10n 2 | template-arb-file: app_en.arb 3 | output-localization-file: app_localizations.dart -------------------------------------------------------------------------------- /screenshots/android_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/android_1.jpg -------------------------------------------------------------------------------- /screenshots/android_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/android_2.jpg -------------------------------------------------------------------------------- /screenshots/android_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/screenshots/android_3.jpg -------------------------------------------------------------------------------- /assets/sounds/shot/-1_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/shot/-1_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_D.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_D.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_E.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_E.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_F.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_F.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_G.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_G.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/7_C.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/7_C.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/-1_A.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/-1_A.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/-1_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/-1_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/-1_B.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/-1_B.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/0_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/0_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/1_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/1_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/2_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/2_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/3_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/3_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/4_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/4_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/5_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/5_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_Ab.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_Ab.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_Cb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_Db.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_Db.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_Fb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_Fb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/6_Gb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/6_Gb.mp3 -------------------------------------------------------------------------------- /assets/sounds/sustain/7_Cb.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/sounds/sustain/7_Cb.mp3 -------------------------------------------------------------------------------- /icons/android/playstore-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/playstore-icon.png -------------------------------------------------------------------------------- /icons/ios/iTunesArtwork@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/iTunesArtwork@1x.png -------------------------------------------------------------------------------- /icons/ios/iTunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/iTunesArtwork@2x.png -------------------------------------------------------------------------------- /icons/ios/iTunesArtwork@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/iTunesArtwork@3x.png -------------------------------------------------------------------------------- /macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /web/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/android-chrome-192x192.png -------------------------------------------------------------------------------- /web/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/web/android-chrome-512x512.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /icons/android/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/android/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/android/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/android/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /android/app/src/main/res/playstore-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/playstore-icon.png -------------------------------------------------------------------------------- /icons/android/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/android/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/android/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/Icon-Small-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/Icon-Small-50.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-27x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-27x20@1x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-27x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-27x20@2x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-27x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-27x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/Icon-Small-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/Icon-Small-50@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/iTunesArtwork@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/iTunesArtwork@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/iTunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/iTunesArtwork@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/iTunesArtwork@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/iTunesArtwork@3x.png -------------------------------------------------------------------------------- /assets/images/repository-open-graph-template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/assets/images/repository-open-graph-template.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/ItunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/ItunesArtwork@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-24@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-24@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-29@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-29@3x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-40@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-44@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-44@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-86@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-86@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-98@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-98@2x.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Icon-27.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/watchkit/AppIcon.appiconset/Icon-27.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-iPhone-60x45@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-iPhone-60x45@1x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-iPhone-60x45@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-iPhone-60x45@2x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-iPhone-60x45@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-iPhone-60x45@3x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-store-1024x768.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-store-1024x768.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-transcript-32x24@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-transcript-32x24@1x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-transcript-32x24@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-transcript-32x24@2x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-transcript-32x24@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-transcript-32x24@3x.png -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/ios/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/android/fastlane/metadata/android/en-US/images/icon.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-iPadAir-67x50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-iPadAir-67x50@2x.png -------------------------------------------------------------------------------- /icons/imessenger/icon-messages-app-iPadAir-74x55@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/icons/imessenger/icon-messages-app-iPadAir-74x55@2x.png -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/ios-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/ios-1024.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-128.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-16.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-256.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-32.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-512.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | org.gradle.jvmargs=--add-opens java.base/java.io=ALL-UNNAMED -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-128@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-16@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-256@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-32@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/macos/Runner/Assets.xcassets/AppIcon.appiconset/mac-512@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rodydavis/flutter_piano/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosting": { 3 | "public": "build/web", 4 | "ignore": [ 5 | "firebase.json", 6 | "**/.*", 7 | "**/node_modules/**" 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/rodydavis/flutter_piano/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.rodydavis.flutter_piano 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/fastlane/Pluginfile: -------------------------------------------------------------------------------- 1 | # Autogenerated by fastlane 2 | # 3 | # Ensure this file is checked in to source control! 4 | 5 | gem 'fastlane-plugin-versioning_android' 6 | 7 | gem 'fastlane-plugin-firebase_app_distribution' 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | json_key_file("../android/app/google_play.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one 2 | package_name("com.appleeducate.flutter_piano") # e.g. com.krausefx.app 3 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | 4 | import 'presentation/view/app.dart'; 5 | 6 | void main() { 7 | runApp(const ProviderScope(child: ThePocketPiano())); 8 | } 9 | -------------------------------------------------------------------------------- /lib/presentation/widget/locale.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_gen/gen_l10n/app_localizations.dart'; 3 | 4 | extension LangUtils on BuildContext { 5 | AppLocalizations get locale => AppLocalizations.of(this)!; 6 | } 7 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip 6 | -------------------------------------------------------------------------------- /macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /web/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #da532c 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "ios-1024.png", 5 | "idiom" : "universal", 6 | "platform" : "ios", 7 | "size" : "1024x1024" 8 | } 9 | ], 10 | "info" : { 11 | "author" : "xcode", 12 | "version" : 1 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.7.0 2 | 3 | - Adding octave control to UI 4 | - Adding locale for English, German, Spanish, French, Japanese, Korean, Chinese, and Russian 5 | - Fixing crash on out of memory for some devices 6 | - Adding sustain 7 | 8 | ## 1.6.0 9 | 10 | - Update to Material 3 11 | - Updating code project to use a different midi synth -------------------------------------------------------------------------------- /macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.theia/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | "version": "0.2.0", 5 | "configurations": [ 6 | { 7 | "name": "Flutter", 8 | "type": "dart", 9 | "request": "launch", 10 | "program": "lib/main.dart" 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import FlutterMacOS 2 | import Cocoa 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/changelogs/22.txt: -------------------------------------------------------------------------------- 1 | - Adjustable key width 2 | - Custom key labels 3 | - Support for semantics for assistive screen readers 4 | - Saved settings for every app launch 5 | - Loud high quality piano 6 | - iPad support for 2 rows of keys 7 | - Octave section to jump to any section 8 | - Disable Scroll 9 | - Haptic Feedback on key press -------------------------------------------------------------------------------- /windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /ios/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | app_identifier("com.appleeducate.pocketpiano") # The bundle identifier of your app 2 | apple_id("rody.davis.jr@gmail.com") # Your Apple email address 3 | 4 | itc_team_id("118550575") # App Store Connect Team ID 5 | team_id("9FK3425VTA") # Developer Portal Team ID 6 | 7 | # For more information about the Appfile, see: 8 | # https://docs.fastlane.tools/advanced/#appfile 9 | -------------------------------------------------------------------------------- /macos/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | app_identifier("com.appleeducate.pocketpiano") # The bundle identifier of your app 2 | apple_id("rody.davis.jr@gmail.com") # Your Apple email address 3 | 4 | itc_team_id("118550575") # App Store Connect Team ID 5 | team_id("9FK3425VTA") # Developer Portal Team ID 6 | 7 | # For more information about the Appfile, see: 8 | # https://docs.fastlane.tools/advanced/#appfile 9 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/main/res/xml/locales_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /android/fastlane/metadata/android/en-US/full_description.txt: -------------------------------------------------------------------------------- 1 | The Pocket Piano is a fully featured piano optimized for all screen sizes. 2 | 3 | Features: 4 | - Adjustable key width 5 | - Custom key labels 6 | - Support for semantics for assistive screen readers 7 | - Saved settings for every app launch 8 | - Loud high quality piano 9 | - iPad support for 2 rows of keys 10 | - Octave section to jump to any section 11 | - Disable Scroll 12 | - Haptic Feedback on key press 13 | 14 | Award winning app for the 2019 Flutter Create Contest! -------------------------------------------------------------------------------- /windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | #include 11 | 12 | void RegisterPlugins(flutter::PluginRegistry* registry) { 13 | AudioplayersWindowsPluginRegisterWithRegistrar( 14 | registry->GetRegistrarForPlugin("AudioplayersWindowsPlugin")); 15 | UrlLauncherWindowsRegisterWithRegistrar( 16 | registry->GetRegistrarForPlugin("UrlLauncherWindows")); 17 | } 18 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = The Pocket Piano 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.appleeducate.flutterPiano 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2023 com.appleeducate. All rights reserved. 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.7.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.4.1' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | tasks.register("clean", Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /windows/runner/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_UTILS_H_ 2 | #define RUNNER_UTILS_H_ 3 | 4 | #include 5 | #include 6 | 7 | // Creates a console for the process, and redirects stdout and stderr to 8 | // it for both the runner and the Flutter library. 9 | void CreateAndAttachConsole(); 10 | 11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string 12 | // encoded in UTF-8. Returns an empty std::string on failure. 13 | std::string Utf8FromUtf16(const wchar_t* utf16_string); 14 | 15 | // Gets the command line arguments passed in as a std::vector, 16 | // encoded in UTF-8. Returns an empty std::vector on failure. 17 | std::vector GetCommandLineArguments(); 18 | 19 | #endif // RUNNER_UTILS_H_ 20 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Publish example and package 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | - master 8 | 9 | jobs: 10 | deploy: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | 15 | - name: Setup Flutter 16 | uses: subosito/flutter-action@v1 17 | with: 18 | channel: 'master' 19 | 20 | - name: Install 21 | run: flutter pub get 22 | 23 | - name: Build Example 24 | run: flutter build web && cd .. 25 | 26 | - name: Setup Dart 27 | uses: dart-lang/setup-dart@v1.3 28 | 29 | - name: Build Docs 30 | run: dart doc -o build/web/docs 31 | 32 | - name: Deploy 33 | uses: peaceiris/actions-gh-pages@v3 34 | with: 35 | github_token: ${{ secrets.GITHUB_TOKEN }} 36 | publish_dir: ./build/web 37 | -------------------------------------------------------------------------------- /macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import audioplayers_darwin 9 | import package_info_plus 10 | import path_provider_foundation 11 | import shared_preferences_foundation 12 | import url_launcher_macos 13 | 14 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 15 | AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin")) 16 | FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) 17 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 18 | SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) 19 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) 20 | } 21 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 11.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /windows/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | audioplayers_windows 7 | url_launcher_windows 8 | ) 9 | 10 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 11 | ) 12 | 13 | set(PLUGIN_BUNDLED_LIBRARIES) 14 | 15 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 16 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) 17 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 18 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 19 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 20 | endforeach(plugin) 21 | 22 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 23 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) 24 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 25 | endforeach(ffi_plugin) 26 | -------------------------------------------------------------------------------- /windows/runner/runner.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PerMonitorV2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "The Pocket Piano", 3 | "short_name": "Pocket Piano", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#000000", 7 | "theme_color": "#FF0000", 8 | "description": "A Cross platform Midi Piano built with Flutter.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": true, 11 | "related_applications": [ 12 | { 13 | "platform": "play", 14 | "url": "https://play.google.com/store/apps/details?id=com.appleeducate.flutter_piano&hl=en_US", 15 | "id": "com.appleeducate.flutter_piano" 16 | }, 17 | { 18 | "platform": "itunes", 19 | "url": "https://apps.apple.com/us/app/the-pocket-piano/id1453992672" 20 | } 21 | ], 22 | "icons": [ 23 | { 24 | "src": "/android-chrome-192x192.png", 25 | "sizes": "192x192", 26 | "type": "image/png" 27 | }, 28 | { 29 | "src": "/android-chrome-512x512.png", 30 | "sizes": "512x512", 31 | "type": "image/png" 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled. 5 | 6 | version: 7 | revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 8 | channel: stable 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 17 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 18 | - platform: windows 19 | create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 20 | base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8 21 | 22 | # User provided section 23 | 24 | # List of Local paths (relative to this file) that should be 25 | # ignored by the migrate tool. 26 | # 27 | # Files that are not part of the templates will be ignored by default. 28 | unmanaged_files: 29 | - 'lib/main.dart' 30 | - 'ios/Runner.xcodeproj/project.pbxproj' 31 | -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | image: 2 | file: .gitpod.dockerfile 3 | github: 4 | prebuilds: 5 | master: true 6 | branches: false 7 | pullRequests: true 8 | pullRequestsFromForks: false 9 | addCheck: false 10 | addComment: true 11 | addBadge: false 12 | addLabel: false 13 | tasks: 14 | - command: | 15 | mkdir -p /home/gitpod/.android 16 | touch /home/gitpod/.android/repositories.cfg 17 | export PATH=/usr/lib/dart/bin:$FLUTTER_HOME/bin:$ANDROID_HOME/bin:$PATH 18 | /home/gitpod/android-sdk/tools/bin/sdkmanager "platform-tools" "platforms;android-28" "build-tools;28.0.3" 19 | vscode: 20 | extensions: 21 | - Dart-Code.flutter@3.5.1:0FyuzXye7dV19PNst3+Llg== 22 | - Dart-Code.dart-code@3.5.1:W6zqgIED1gxtkBH/pbfGXA== 23 | - Lihaha.flutter-img-sync@0.1.4:N3SNjcbELCkl1SL2Ioy1XQ== 24 | - gmlewis-vscode.flutter-stylizer@0.0.14:30jQHcd6GmlCjjhbSbCbyg== 25 | - esskar.vscode-flutter-i18n-json@0.26.0:VK1HoVtBPYpJ+zzQl7/ulQ== 26 | - FelixAngelov.bloc@1.0.0:B2lAmHytUcIq+xSL3quiOA== 27 | - ms-azuretools.vscode-docker@0.8.1:h+G8u0NnsSvzGg5SM6TOWA== -------------------------------------------------------------------------------- /windows/runner/flutter_window.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_FLUTTER_WINDOW_H_ 2 | #define RUNNER_FLUTTER_WINDOW_H_ 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | #include "win32_window.h" 10 | 11 | // A window that does nothing but host a Flutter view. 12 | class FlutterWindow : public Win32Window { 13 | public: 14 | // Creates a new FlutterWindow hosting a Flutter view running |project|. 15 | explicit FlutterWindow(const flutter::DartProject& project); 16 | virtual ~FlutterWindow(); 17 | 18 | protected: 19 | // Win32Window: 20 | bool OnCreate() override; 21 | void OnDestroy() override; 22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, 23 | LPARAM const lparam) noexcept override; 24 | 25 | private: 26 | // The project to run. 27 | flutter::DartProject project_; 28 | 29 | // The Flutter instance hosted by this window. 30 | std::unique_ptr flutter_controller_; 31 | }; 32 | 33 | #endif // RUNNER_FLUTTER_WINDOW_H_ 34 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /icons/ios/README.md: -------------------------------------------------------------------------------- 1 | ## iTunesArtwork & iTunesArtwork@2x (App Icon) file extension: 2 | 3 | PNG extension is prepended to these two files - 4 | 5 | While Apple suggested to omit the extension for these files, 6 | the '.png' extension is actually required for iTunesConnect submission. 7 | 8 | This is done for you so you don't have to. 9 | 10 | However, for Ad_hoc or Enterprise distirbution, the extension should be removed 11 | from the files before adding to XCode to avoid error. 12 | 13 | refs: https://developer.apple.com/library/ios/qa/qa1686/_index.html 14 | 15 | ## iTunesArtwork & iTunesArtwork@2x (App Icon) transparency handling: 16 | 17 | As images with alpha channels or transparencies cannot be set as an application's icon on 18 | iTunesConnect, all transparent pixels in your images will be converted into 19 | solid blacks. 20 | 21 | To achieve the best result, you're advised to adjust the transparency settings 22 | in your source files before converting them with makeAppIcon. 23 | 24 | refs: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/AppIcons.html 25 | -------------------------------------------------------------------------------- /ios/fastlane/README.md: -------------------------------------------------------------------------------- 1 | fastlane documentation 2 | ---- 3 | 4 | # Installation 5 | 6 | Make sure you have the latest version of the Xcode command line tools installed: 7 | 8 | ```sh 9 | xcode-select --install 10 | ``` 11 | 12 | For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) 13 | 14 | # Available Actions 15 | 16 | ## iOS 17 | 18 | ### ios prepare 19 | 20 | ```sh 21 | [bundle exec] fastlane ios prepare 22 | ``` 23 | 24 | Prepare and archive app 25 | 26 | ### ios beta 27 | 28 | ```sh 29 | [bundle exec] fastlane ios beta 30 | ``` 31 | 32 | Push a new beta build to TestFlight 33 | 34 | ### ios release 35 | 36 | ```sh 37 | [bundle exec] fastlane ios release 38 | ``` 39 | 40 | Push a new release build to the App Store 41 | 42 | ---- 43 | 44 | This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. 45 | 46 | More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). 47 | 48 | The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). 49 | -------------------------------------------------------------------------------- /macos/fastlane/README.md: -------------------------------------------------------------------------------- 1 | fastlane documentation 2 | ---- 3 | 4 | # Installation 5 | 6 | Make sure you have the latest version of the Xcode command line tools installed: 7 | 8 | ```sh 9 | xcode-select --install 10 | ``` 11 | 12 | For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) 13 | 14 | # Available Actions 15 | 16 | ## Mac 17 | 18 | ### mac prepare 19 | 20 | ```sh 21 | [bundle exec] fastlane mac prepare 22 | ``` 23 | 24 | Prepare and archive app 25 | 26 | ### mac beta 27 | 28 | ```sh 29 | [bundle exec] fastlane mac beta 30 | ``` 31 | 32 | Push a new beta build to TestFlight 33 | 34 | ### mac release 35 | 36 | ```sh 37 | [bundle exec] fastlane mac release 38 | ``` 39 | 40 | Push a new release build to the App Store 41 | 42 | ---- 43 | 44 | This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. 45 | 46 | More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). 47 | 48 | The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). 49 | -------------------------------------------------------------------------------- /android/fastlane/README.md: -------------------------------------------------------------------------------- 1 | fastlane documentation 2 | ---- 3 | 4 | # Installation 5 | 6 | Make sure you have the latest version of the Xcode command line tools installed: 7 | 8 | ```sh 9 | xcode-select --install 10 | ``` 11 | 12 | For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) 13 | 14 | # Available Actions 15 | 16 | ## Android 17 | 18 | ### android prepare 19 | 20 | ```sh 21 | [bundle exec] fastlane android prepare 22 | ``` 23 | 24 | Prepare and archive app 25 | 26 | ### android beta 27 | 28 | ```sh 29 | [bundle exec] fastlane android beta 30 | ``` 31 | 32 | Push a new beta build to Google Play 33 | 34 | ### android release 35 | 36 | ```sh 37 | [bundle exec] fastlane android release 38 | ``` 39 | 40 | Push a new release build to the Google Play 41 | 42 | ---- 43 | 44 | This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. 45 | 46 | More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). 47 | 48 | The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). 49 | -------------------------------------------------------------------------------- /windows/runner/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "flutter_window.h" 6 | #include "utils.h" 7 | 8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, 9 | _In_ wchar_t *command_line, _In_ int show_command) { 10 | // Attach to console when present (e.g., 'flutter run') or create a 11 | // new console when running with a debugger. 12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { 13 | CreateAndAttachConsole(); 14 | } 15 | 16 | // Initialize COM, so that it is available for use in the library and/or 17 | // plugins. 18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); 19 | 20 | flutter::DartProject project(L"data"); 21 | 22 | std::vector command_line_arguments = 23 | GetCommandLineArguments(); 24 | 25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); 26 | 27 | FlutterWindow window(project); 28 | Win32Window::Point origin(10, 10); 29 | Win32Window::Size size(1280, 720); 30 | if (!window.Create(L"The Pocket Piano", origin, size)) { 31 | return EXIT_FAILURE; 32 | } 33 | window.SetQuitOnClose(true); 34 | 35 | ::MSG msg; 36 | while (::GetMessage(&msg, nullptr, 0, 0)) { 37 | ::TranslateMessage(&msg); 38 | ::DispatchMessage(&msg); 39 | } 40 | 41 | ::CoUninitialize(); 42 | return EXIT_SUCCESS; 43 | } 44 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_piano 2 | description: A Cross platform Midi Piano built with Flutter. 3 | maintainer: Rody Davis Jr 4 | homepage: https://github.com/rodydavis/flutter_piano 5 | version: 1.7.0+410 6 | publish_to: none 7 | environment: 8 | sdk: ">=3.0.0-171.0.dev <4.0.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_localizations: 14 | sdk: flutter 15 | riverpod: ^2.3.6 16 | flutter_riverpod: ^2.3.6 17 | recase: ^4.1.0 18 | shared_preferences: ^2.2.1 19 | app_review: ^2.1.2+1 20 | audioplayers: ^5.1.0 21 | intl: any 22 | country_flags: ^2.1.1 23 | flutter_whatsnew: ^1.0.5+2 24 | 25 | dev_dependencies: 26 | flutter_test: 27 | sdk: flutter 28 | flutter_lints: ^2.0.0 29 | build_version: ^2.1.1 30 | build_runner: ^2.4.6 31 | msix: ^3.16.1 32 | 33 | dependency_overrides: 34 | package_info_plus: ^4.0.0 35 | 36 | flutter: 37 | generate: true 38 | uses-material-design: true 39 | assets: 40 | - assets/sounds/shot/ 41 | - assets/sounds/sustain/ 42 | - CHANGELOG.md 43 | 44 | msix_config: 45 | display_name: The Pocket Piano 46 | publisher_display_name: Rody Davis 47 | logo_path: C:\Users\Surface\Documents\GitHub\flutter_piano\assets\images\icon.png 48 | identity_name: 2817RodyDavis.ThePocketPiano 49 | publisher: CN=DAC213A7-CAAA-40F4-8B08-78AADBC0B859 50 | languages: en, de, es, ru, ja, fr, zh 51 | capabilities: "" 52 | msix_version: 1.0.1.0 53 | store: true -------------------------------------------------------------------------------- /android/fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | # Uncomment the line if you want fastlane to automatically update itself 2 | # update_fastlane 3 | 4 | default_platform(:android) 5 | 6 | platform :android do 7 | desc "Prepare and archive app" 8 | lane :prepare do |options| 9 | #bundle_install 10 | # Dir.chdir "../.." do 11 | # sh("flutter", "packages", "get") 12 | # sh("flutter", "clean") 13 | # sh("flutter", "build", "appbundle", "--release") 14 | # end 15 | # sh("flutter", "packages", "get") 16 | # sh("flutter", "clean") 17 | sh("flutter", "build", "appbundle", "--no-shrink") 18 | end 19 | 20 | desc "Push a new beta build to Google Play" 21 | lane :beta do 22 | prepare(release: false) 23 | upload_to_play_store( 24 | track: 'beta', 25 | aab: "../build/app/outputs/bundle/release/app-release.aab" 26 | ) 27 | # add_git_tag( 28 | # grouping: "fastlane-builds", 29 | # prefix: "v", 30 | # build_number: android_get_version_code 31 | # ) 32 | # push_to_git_remote 33 | end 34 | 35 | desc "Push a new release build to the Google Play" 36 | lane :release do 37 | prepare(release: true) 38 | upload_to_play_store( 39 | track: 'production', 40 | aab: "../build/app/outputs/bundle/release/app-release.aab" 41 | ) 42 | # add_git_tag( 43 | # grouping: "release", 44 | # prefix: "v", 45 | # build_number: android_get_version_name 46 | # ) 47 | # push_to_git_remote 48 | end 49 | end -------------------------------------------------------------------------------- /macos/Podfile: -------------------------------------------------------------------------------- 1 | platform :osx, '10.14' 2 | 3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 5 | 6 | project 'Runner', { 7 | 'Debug' => :debug, 8 | 'Profile' => :release, 9 | 'Release' => :release, 10 | } 11 | 12 | def flutter_root 13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) 14 | unless File.exist?(generated_xcode_build_settings_path) 15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" 16 | end 17 | 18 | File.foreach(generated_xcode_build_settings_path) do |line| 19 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 20 | return matches[1].strip if matches 21 | end 22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" 23 | end 24 | 25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 26 | 27 | flutter_macos_podfile_setup 28 | 29 | target 'Runner' do 30 | use_frameworks! 31 | use_modular_headers! 32 | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) 34 | target 'RunnerTests' do 35 | inherit! :search_paths 36 | end 37 | end 38 | 39 | post_install do |installer| 40 | installer.pods_project.targets.each do |target| 41 | flutter_additional_macos_build_settings(target) 42 | end 43 | end 44 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 13 | 14 | 15 | The Pocket Piano 16 | 17 | 18 | 19 | 20 | 21 | 22 | 26 | 27 | 28 | 29 | 30 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gitpod/workspace-full:latest 2 | 3 | ENV ANDROID_HOME=/home/gitpod/android-sdk \ 4 | FLUTTER_HOME=/home/gitpod/flutter 5 | 6 | USER root 7 | 8 | RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ 9 | curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list && \ 10 | apt-get update && \ 11 | apt-get -y install build-essential dart libkrb5-dev gcc make gradle android-tools-adb android-tools-fastboot openjdk-8-jdk && \ 12 | apt-get clean && \ 13 | apt-get -y autoremove && \ 14 | apt-get -y clean && \ 15 | rm -rf /var/lib/apt/lists/*; 16 | 17 | USER gitpod 18 | 19 | RUN cd /home/gitpod && \ 20 | wget -qO flutter_sdk.tar.xz \ 21 | https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.9.1+hotfix.4-stable.tar.xz &&\ 22 | tar -xvf flutter_sdk.tar.xz && \ 23 | rm -f flutter_sdk.tar.xz 24 | 25 | RUN cd /home/gitpod && \ 26 | wget -qO android_studio.zip \ 27 | https://dl.google.com/dl/android/studio/ide-zips/3.3.0.20/android-studio-ide-182.5199772-linux.zip && \ 28 | unzip android_studio.zip && \ 29 | rm -f android_studio.zip 30 | 31 | # TODO(tianhaoz95): make the name of the SDK file into an environment variable to avoid maintainance issue 32 | RUN mkdir -p /home/gitpod/android-sdk && \ 33 | cd /home/gitpod/android-sdk && \ 34 | wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && \ 35 | unzip sdk-tools-linux-4333796.zip && \ 36 | rm -f sdk-tools-linux-4333796.zip -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | platform :ios, '14.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | target 'RunnerTests' do 36 | inherit! :search_paths 37 | end 38 | end 39 | 40 | post_install do |installer| 41 | installer.pods_project.targets.each do |target| 42 | flutter_additional_ios_build_settings(target) 43 | end 44 | end 45 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "mac-16.png", 5 | "idiom" : "mac", 6 | "scale" : "1x", 7 | "size" : "16x16" 8 | }, 9 | { 10 | "filename" : "mac-16@2x.png", 11 | "idiom" : "mac", 12 | "scale" : "2x", 13 | "size" : "16x16" 14 | }, 15 | { 16 | "filename" : "mac-32.png", 17 | "idiom" : "mac", 18 | "scale" : "1x", 19 | "size" : "32x32" 20 | }, 21 | { 22 | "filename" : "mac-32@2x.png", 23 | "idiom" : "mac", 24 | "scale" : "2x", 25 | "size" : "32x32" 26 | }, 27 | { 28 | "filename" : "mac-128.png", 29 | "idiom" : "mac", 30 | "scale" : "1x", 31 | "size" : "128x128" 32 | }, 33 | { 34 | "filename" : "mac-128@2x.png", 35 | "idiom" : "mac", 36 | "scale" : "2x", 37 | "size" : "128x128" 38 | }, 39 | { 40 | "filename" : "mac-256.png", 41 | "idiom" : "mac", 42 | "scale" : "1x", 43 | "size" : "256x256" 44 | }, 45 | { 46 | "filename" : "mac-256@2x.png", 47 | "idiom" : "mac", 48 | "scale" : "2x", 49 | "size" : "256x256" 50 | }, 51 | { 52 | "filename" : "mac-512.png", 53 | "idiom" : "mac", 54 | "scale" : "1x", 55 | "size" : "512x512" 56 | }, 57 | { 58 | "filename" : "mac-512@2x.png", 59 | "idiom" : "mac", 60 | "scale" : "2x", 61 | "size" : "512x512" 62 | } 63 | ], 64 | "info" : { 65 | "author" : "xcode", 66 | "version" : 1 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | LSApplicationCategoryType 32 | public.app-category.music 33 | CBBundleDisplayName 34 | The Pocket Piano 35 | ITSAppUsesNonExemptEncryption 36 | 37 | CFBundleLocalizations 38 | 39 | en 40 | es 41 | de 42 | fr 43 | ja 44 | ko 45 | ru 46 | zh 47 | 48 | 49 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # Visual Studio Code related 19 | .vscode/ 20 | 21 | # Flutter/Dart/Pub related 22 | **/doc/api/ 23 | .dart_tool/ 24 | .flutter-plugins 25 | .packages 26 | .pub-cache/ 27 | .pub/ 28 | /build/ 29 | 30 | # Android related 31 | **/android/**/gradle-wrapper.jar 32 | **/android/.gradle 33 | **/android/captures/ 34 | **/android/gradlew 35 | **/android/gradlew.bat 36 | **/android/local.properties 37 | **/android/**/GeneratedPluginRegistrant.java 38 | 39 | # iOS/XCode related 40 | **/ios/**/*.mode1v3 41 | **/ios/**/*.mode2v3 42 | **/ios/**/*.moved-aside 43 | **/ios/**/*.pbxuser 44 | **/ios/**/*.perspectivev3 45 | **/ios/**/*sync/ 46 | **/ios/**/.sconsign.dblite 47 | **/ios/**/.tags* 48 | **/ios/**/.vagrant/ 49 | **/ios/**/DerivedData/ 50 | **/ios/**/Icon? 51 | **/ios/**/Pods/ 52 | **/ios/**/.symlinks/ 53 | **/ios/**/profile 54 | **/ios/**/xcuserdata 55 | **/ios/.generated/ 56 | **/ios/Flutter/App.framework 57 | **/ios/Flutter/Flutter.framework 58 | **/ios/Flutter/Generated.xcconfig 59 | **/ios/Flutter/app.flx 60 | **/ios/Flutter/app.zip 61 | **/ios/Flutter/flutter_assets/ 62 | **/ios/ServiceDefinitions.json 63 | **/ios/Runner/GeneratedPluginRegistrant.* 64 | 65 | # Exceptions to above rules. 66 | !**/ios/**/default.mode1v3 67 | !**/ios/**/default.mode2v3 68 | !**/ios/**/default.pbxuser 69 | !**/ios/**/default.perspectivev3 70 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 71 | *.ipa 72 | 73 | android/app/google_play.json 74 | android/app/google-services.json 75 | report.xml 76 | *.p8 77 | *.dSYM.zip 78 | *.app 79 | *.pkg 80 | *.zip 81 | -------------------------------------------------------------------------------- /lib/presentation/widget/color_role.dart: -------------------------------------------------------------------------------- 1 | // ignore_for_file: public_member_api_docs, sort_constructors_first 2 | import 'package:flutter/material.dart'; 3 | 4 | enum ColorRole { 5 | primary, 6 | primaryContainer, 7 | secondary, 8 | secondaryContainer, 9 | tertiary, 10 | tertiaryContainer, 11 | surface, 12 | inverseSurface, 13 | monoChrome, 14 | } 15 | 16 | extension ColorSchemeUtils on ColorScheme { 17 | Color color(ColorRole role) { 18 | switch (role) { 19 | case ColorRole.primary: 20 | return primary; 21 | case ColorRole.primaryContainer: 22 | return primaryContainer; 23 | case ColorRole.secondary: 24 | return secondary; 25 | case ColorRole.secondaryContainer: 26 | return secondaryContainer; 27 | case ColorRole.tertiary: 28 | return tertiary; 29 | case ColorRole.tertiaryContainer: 30 | return tertiaryContainer; 31 | case ColorRole.surface: 32 | return surface; 33 | case ColorRole.inverseSurface: 34 | return inverseSurface; 35 | case ColorRole.monoChrome: 36 | return Colors.black; 37 | } 38 | } 39 | 40 | Color onColor(ColorRole role) { 41 | switch (role) { 42 | case ColorRole.primary: 43 | return onPrimary; 44 | case ColorRole.primaryContainer: 45 | return onPrimaryContainer; 46 | case ColorRole.secondary: 47 | return onSecondary; 48 | case ColorRole.secondaryContainer: 49 | return onSecondaryContainer; 50 | case ColorRole.tertiary: 51 | return onTertiary; 52 | case ColorRole.tertiaryContainer: 53 | return onTertiaryContainer; 54 | case ColorRole.surface: 55 | return onSurface; 56 | case ColorRole.inverseSurface: 57 | return onInverseSurface; 58 | case ColorRole.monoChrome: 59 | return Colors.white; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /windows/runner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.14) 2 | project(runner LANGUAGES CXX) 3 | 4 | # Define the application target. To change its name, change BINARY_NAME in the 5 | # top-level CMakeLists.txt, not the value here, or `flutter run` will no longer 6 | # work. 7 | # 8 | # Any new source files that you add to the application should be added here. 9 | add_executable(${BINARY_NAME} WIN32 10 | "flutter_window.cpp" 11 | "main.cpp" 12 | "utils.cpp" 13 | "win32_window.cpp" 14 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" 15 | "Runner.rc" 16 | "runner.exe.manifest" 17 | ) 18 | 19 | # Apply the standard set of build settings. This can be removed for applications 20 | # that need different build settings. 21 | apply_standard_settings(${BINARY_NAME}) 22 | 23 | # Add preprocessor definitions for the build version. 24 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") 25 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") 26 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") 27 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") 28 | target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") 29 | 30 | # Disable Windows macros that collide with C++ standard library functions. 31 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") 32 | 33 | # Add dependency libraries and include directories. Add any application-specific 34 | # dependencies here. 35 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) 36 | target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") 37 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") 38 | 39 | # Run the Flutter tool portions of the build. This must not be removed. 40 | add_dependencies(${BINARY_NAME} flutter_assemble) 41 | -------------------------------------------------------------------------------- /macos/fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | update_fastlane 2 | 3 | default_platform(:mac) 4 | 5 | platform :mac do 6 | desc "Prepare and archive app" 7 | lane :prepare do |options| 8 | sh("flutter", "build", "macos") 9 | end 10 | 11 | desc "Push a new beta build to TestFlight" 12 | lane :beta do 13 | enable_automatic_code_signing 14 | 15 | sh("flutter", "build", "macos") 16 | 17 | build_app( 18 | workspace: "Runner.xcworkspace", 19 | scheme: "Runner" 20 | ) 21 | 22 | api_key = app_store_connect_api_key( 23 | key_id: "8H848U5TNL", 24 | issuer_id: "69a6de90-44a3-47e3-e053-5b8c7c11a4d1", 25 | key_filepath: "/Users/rodydavis/Developer/Github/forks/flutter_piano/macos/fastlane/AuthKey_8H848U5TNL.p8", 26 | duration: 1200, # optional (maximum 1200) 27 | in_house: false # optional but may be required if using match/sigh 28 | ) 29 | 30 | pilot( 31 | skip_waiting_for_build_processing: true, 32 | api_key: api_key 33 | ) 34 | end 35 | 36 | desc "Push a new release build to the App Store" 37 | lane :release do 38 | enable_automatic_code_signing 39 | 40 | build_app( 41 | workspace: "Runner.xcworkspace", 42 | scheme: "Runner" 43 | ) 44 | 45 | build_app( 46 | workspace: "Runner.xcworkspace", 47 | scheme: "Runner" 48 | ) 49 | 50 | api_key = app_store_connect_api_key( 51 | key_id: "8H848U5TNL", 52 | issuer_id: "69a6de90-44a3-47e3-e053-5b8c7c11a4d1", 53 | key_filepath: "/Users/rodydavis/Developer/Github/forks/flutter_piano/macos/fastlane/AuthKey_8H848U5TNL.p8", 54 | duration: 1200, # optional (maximum 1200) 55 | in_house: false # optional but may be required if using match/sigh 56 | ) 57 | 58 | deliver( 59 | submit_for_review: true, 60 | automatic_release: true, 61 | skip_screenshots: true, 62 | force: true, 63 | skip_waiting_for_build_processing: true, 64 | api_key: api_key 65 | ) 66 | end 67 | end -------------------------------------------------------------------------------- /icons/watchkit/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images":[ 3 | { 4 | "size":"24x24", 5 | "idiom":"watch", 6 | "scale":"2x", 7 | "filename":"Icon-24@2x.png", 8 | "role":"notificationCenter", 9 | "subtype":"38mm" 10 | }, 11 | { 12 | "size":"27.5x27.5", 13 | "idiom":"watch", 14 | "scale":"2x", 15 | "filename":"Icon-27.5@2x.png", 16 | "role":"notificationCenter", 17 | "subtype":"42mm" 18 | }, 19 | { 20 | "size":"29x29", 21 | "idiom":"watch", 22 | "scale":"2x", 23 | "filename":"Icon-29@2x.png", 24 | "role":"companionSettings" 25 | }, 26 | { 27 | "size":"29x29", 28 | "idiom":"watch", 29 | "scale":"3x", 30 | "filename":"Icon-29@3x.png", 31 | "role":"companionSettings" 32 | }, 33 | { 34 | "size":"40x40", 35 | "idiom":"watch", 36 | "scale":"2x", 37 | "filename":"Icon-40@2x.png", 38 | "role":"appLauncher", 39 | "subtype":"38mm" 40 | }, 41 | { 42 | "size":"44x44", 43 | "idiom":"watch", 44 | "scale":"2x", 45 | "filename":"Icon-44@2x.png", 46 | "role":"longLook", 47 | "subtype":"42mm" 48 | }, 49 | { 50 | "size":"86x86", 51 | "idiom":"watch", 52 | "scale":"2x", 53 | "filename":"Icon-86@2x.png", 54 | "role":"quickLook", 55 | "subtype":"38mm" 56 | }, 57 | { 58 | "size":"98x98", 59 | "idiom":"watch", 60 | "scale":"2x", 61 | "filename":"Icon-98@2x.png", 62 | "role":"quickLook", 63 | "subtype":"42mm" 64 | } 65 | ], 66 | "info":{ 67 | "version":1, 68 | "author":"makeappicon" 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /windows/runner/utils.cpp: -------------------------------------------------------------------------------- 1 | #include "utils.h" 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | void CreateAndAttachConsole() { 11 | if (::AllocConsole()) { 12 | FILE *unused; 13 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) { 14 | _dup2(_fileno(stdout), 1); 15 | } 16 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) { 17 | _dup2(_fileno(stdout), 2); 18 | } 19 | std::ios::sync_with_stdio(); 20 | FlutterDesktopResyncOutputStreams(); 21 | } 22 | } 23 | 24 | std::vector GetCommandLineArguments() { 25 | // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. 26 | int argc; 27 | wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); 28 | if (argv == nullptr) { 29 | return std::vector(); 30 | } 31 | 32 | std::vector command_line_arguments; 33 | 34 | // Skip the first argument as it's the binary name. 35 | for (int i = 1; i < argc; i++) { 36 | command_line_arguments.push_back(Utf8FromUtf16(argv[i])); 37 | } 38 | 39 | ::LocalFree(argv); 40 | 41 | return command_line_arguments; 42 | } 43 | 44 | std::string Utf8FromUtf16(const wchar_t* utf16_string) { 45 | if (utf16_string == nullptr) { 46 | return std::string(); 47 | } 48 | int target_length = ::WideCharToMultiByte( 49 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 50 | -1, nullptr, 0, nullptr, nullptr) 51 | -1; // remove the trailing null character 52 | int input_length = (int)wcslen(utf16_string); 53 | std::string utf8_string; 54 | if (target_length <= 0 || target_length > utf8_string.max_size()) { 55 | return utf8_string; 56 | } 57 | utf8_string.resize(target_length); 58 | int converted_length = ::WideCharToMultiByte( 59 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 60 | input_length, utf8_string.data(), target_length, nullptr, nullptr); 61 | if (converted_length == 0) { 62 | return std::string(); 63 | } 64 | return utf8_string; 65 | } 66 | -------------------------------------------------------------------------------- /ios/fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | # update_fastlane 2 | 3 | default_platform(:ios) 4 | 5 | platform :ios do 6 | desc "Prepare and archive app" 7 | lane :prepare do |options| 8 | sh("flutter", "build", "ios") 9 | end 10 | 11 | desc "Push a new beta build to TestFlight" 12 | lane :beta do 13 | enable_automatic_code_signing 14 | 15 | # sh("flutter", "packages", "get") 16 | # sh("flutter", "clean") 17 | sh("flutter", "build", "ios") 18 | 19 | build_app( 20 | workspace: "Runner.xcworkspace", 21 | scheme: "Runner" 22 | ) 23 | 24 | api_key = app_store_connect_api_key( 25 | key_id: "8H848U5TNL", 26 | issuer_id: "69a6de90-44a3-47e3-e053-5b8c7c11a4d1", 27 | key_filepath: "/Users/rodydavis/Developer/Github/forks/flutter_piano/ios/fastlane/AuthKey_8H848U5TNL.p8", 28 | duration: 1200, # optional (maximum 1200) 29 | in_house: false # optional but may be required if using match/sigh 30 | ) 31 | 32 | pilot( 33 | skip_waiting_for_build_processing: true, 34 | api_key: api_key 35 | ) 36 | end 37 | 38 | desc "Push a new release build to the App Store" 39 | lane :release do 40 | enable_automatic_code_signing 41 | 42 | # sh("flutter", "packages", "get") 43 | # sh("flutter", "clean") 44 | # sh("flutter", "build", "ios") 45 | 46 | build_app( 47 | workspace: "Runner.xcworkspace", 48 | scheme: "Runner" 49 | ) 50 | 51 | api_key = app_store_connect_api_key( 52 | key_id: "8H848U5TNL", 53 | issuer_id: "69a6de90-44a3-47e3-e053-5b8c7c11a4d1", 54 | key_filepath: "/Users/rodydavis/Developer/Github/forks/flutter_piano/ios/fastlane/AuthKey_8H848U5TNL.p8", 55 | duration: 1200, # optional (maximum 1200) 56 | in_house: false # optional but may be required if using match/sigh 57 | ) 58 | 59 | deliver( 60 | submit_for_review: true, 61 | automatic_release: true, 62 | skip_screenshots: true, 63 | force: true, 64 | skip_waiting_for_build_processing: true, 65 | api_key: api_key 66 | ) 67 | end 68 | end -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - app_review (1.0.1): 3 | - Flutter 4 | - audioplayers_darwin (0.0.1): 5 | - Flutter 6 | - Flutter (1.0.0) 7 | - package_info_plus (0.4.5): 8 | - Flutter 9 | - path_provider_foundation (0.0.1): 10 | - Flutter 11 | - FlutterMacOS 12 | - shared_preferences_foundation (0.0.1): 13 | - Flutter 14 | - FlutterMacOS 15 | - url_launcher_ios (0.0.1): 16 | - Flutter 17 | 18 | DEPENDENCIES: 19 | - app_review (from `.symlinks/plugins/app_review/ios`) 20 | - audioplayers_darwin (from `.symlinks/plugins/audioplayers_darwin/ios`) 21 | - Flutter (from `Flutter`) 22 | - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) 23 | - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) 24 | - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) 25 | - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) 26 | 27 | EXTERNAL SOURCES: 28 | app_review: 29 | :path: ".symlinks/plugins/app_review/ios" 30 | audioplayers_darwin: 31 | :path: ".symlinks/plugins/audioplayers_darwin/ios" 32 | Flutter: 33 | :path: Flutter 34 | package_info_plus: 35 | :path: ".symlinks/plugins/package_info_plus/ios" 36 | path_provider_foundation: 37 | :path: ".symlinks/plugins/path_provider_foundation/darwin" 38 | shared_preferences_foundation: 39 | :path: ".symlinks/plugins/shared_preferences_foundation/darwin" 40 | url_launcher_ios: 41 | :path: ".symlinks/plugins/url_launcher_ios/ios" 42 | 43 | SPEC CHECKSUMS: 44 | app_review: 6f51001269c59a2f4a5b5ae68b7d106401152764 45 | audioplayers_darwin: 877d9a4d06331c5c374595e46e16453ac7eafa40 46 | Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 47 | package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7 48 | path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 49 | shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c 50 | url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 51 | 52 | PODFILE CHECKSUM: 1959d098c91d8a792531a723c4a9d7e9f6a01e38 53 | 54 | COCOAPODS: 1.12.1 55 | -------------------------------------------------------------------------------- /macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - audioplayers_darwin (0.0.1): 3 | - FlutterMacOS 4 | - FlutterMacOS (1.0.0) 5 | - package_info_plus (0.0.1): 6 | - FlutterMacOS 7 | - path_provider_foundation (0.0.1): 8 | - Flutter 9 | - FlutterMacOS 10 | - shared_preferences_foundation (0.0.1): 11 | - Flutter 12 | - FlutterMacOS 13 | - url_launcher_macos (0.0.1): 14 | - FlutterMacOS 15 | 16 | DEPENDENCIES: 17 | - audioplayers_darwin (from `Flutter/ephemeral/.symlinks/plugins/audioplayers_darwin/macos`) 18 | - FlutterMacOS (from `Flutter/ephemeral`) 19 | - package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`) 20 | - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`) 21 | - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`) 22 | - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) 23 | 24 | EXTERNAL SOURCES: 25 | audioplayers_darwin: 26 | :path: Flutter/ephemeral/.symlinks/plugins/audioplayers_darwin/macos 27 | FlutterMacOS: 28 | :path: Flutter/ephemeral 29 | package_info_plus: 30 | :path: Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos 31 | path_provider_foundation: 32 | :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin 33 | shared_preferences_foundation: 34 | :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin 35 | url_launcher_macos: 36 | :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos 37 | 38 | SPEC CHECKSUMS: 39 | audioplayers_darwin: dcad41de4fbd0099cb3749f7ab3b0cb8f70b810c 40 | FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 41 | package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce 42 | path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943 43 | shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c 44 | url_launcher_macos: 5335912b679c073563f29d89d33d10d459f95451 45 | 46 | PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367 47 | 48 | COCOAPODS: 1.12.1 49 | -------------------------------------------------------------------------------- /windows/runner/flutter_window.cpp: -------------------------------------------------------------------------------- 1 | #include "flutter_window.h" 2 | 3 | #include 4 | 5 | #include "flutter/generated_plugin_registrant.h" 6 | 7 | FlutterWindow::FlutterWindow(const flutter::DartProject& project) 8 | : project_(project) {} 9 | 10 | FlutterWindow::~FlutterWindow() {} 11 | 12 | bool FlutterWindow::OnCreate() { 13 | if (!Win32Window::OnCreate()) { 14 | return false; 15 | } 16 | 17 | RECT frame = GetClientArea(); 18 | 19 | // The size here must match the window dimensions to avoid unnecessary surface 20 | // creation / destruction in the startup path. 21 | flutter_controller_ = std::make_unique( 22 | frame.right - frame.left, frame.bottom - frame.top, project_); 23 | // Ensure that basic setup of the controller was successful. 24 | if (!flutter_controller_->engine() || !flutter_controller_->view()) { 25 | return false; 26 | } 27 | RegisterPlugins(flutter_controller_->engine()); 28 | SetChildContent(flutter_controller_->view()->GetNativeWindow()); 29 | 30 | flutter_controller_->engine()->SetNextFrameCallback([&]() { 31 | this->Show(); 32 | }); 33 | 34 | return true; 35 | } 36 | 37 | void FlutterWindow::OnDestroy() { 38 | if (flutter_controller_) { 39 | flutter_controller_ = nullptr; 40 | } 41 | 42 | Win32Window::OnDestroy(); 43 | } 44 | 45 | LRESULT 46 | FlutterWindow::MessageHandler(HWND hwnd, UINT const message, 47 | WPARAM const wparam, 48 | LPARAM const lparam) noexcept { 49 | // Give Flutter, including plugins, an opportunity to handle window messages. 50 | if (flutter_controller_) { 51 | std::optional result = 52 | flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, 53 | lparam); 54 | if (result) { 55 | return *result; 56 | } 57 | } 58 | 59 | switch (message) { 60 | case WM_FONTCHANGE: 61 | flutter_controller_->engine()->ReloadSystemFonts(); 62 | break; 63 | } 64 | 65 | return Win32Window::MessageHandler(hwnd, message, wparam, lparam); 66 | } 67 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 11 | 14 | 15 | 20 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 35 | 36 | -------------------------------------------------------------------------------- /lib/presentation/widget/piano_section.dart: -------------------------------------------------------------------------------- 1 | // ignore_for_file: public_member_api_docs, sort_constructors_first 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 4 | 5 | import '../../data/source/settings.dart'; 6 | import 'piano_key.dart'; 7 | 8 | class PianoSection extends ConsumerWidget { 9 | const PianoSection({ 10 | Key? key, 11 | required this.index, 12 | required this.onPlay, 13 | }) : super(key: key); 14 | 15 | final int index; 16 | final ValueChanged onPlay; 17 | 18 | @override 19 | Widget build(BuildContext context, WidgetRef ref) { 20 | final keyWidth = ref.watch(keyWidthProvider); 21 | final int i = index * 12; 22 | return SafeArea( 23 | child: Stack( 24 | children: [ 25 | Row(mainAxisSize: MainAxisSize.min, children: [ 26 | _buildKey(24 + i, false), 27 | _buildKey(26 + i, false), 28 | _buildKey(28 + i, false), 29 | _buildKey(29 + i, false), 30 | _buildKey(31 + i, false), 31 | _buildKey(33 + i, false), 32 | _buildKey(35 + i, false), 33 | ]), 34 | Positioned( 35 | top: 0, 36 | left: 0, 37 | right: 0, 38 | bottom: 100, 39 | child: Row( 40 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 41 | mainAxisSize: MainAxisSize.min, 42 | children: [ 43 | Container(width: keyWidth * .5), 44 | _buildKey(25 + i, true), 45 | _buildKey(27 + i, true), 46 | Container(width: keyWidth), 47 | _buildKey(30 + i, true), 48 | _buildKey(32 + i, true), 49 | _buildKey(34 + i, true), 50 | Container(width: keyWidth * .5), 51 | ], 52 | ), 53 | ), 54 | ], 55 | ), 56 | ); 57 | } 58 | 59 | Widget _buildKey(int midi, bool accidental) { 60 | return PianoKey( 61 | midi: midi, 62 | accidental: accidental, 63 | onPlay: () => onPlay(midi), 64 | ); 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /lib/presentation/widget/color_picker.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class ColorPicker extends StatelessWidget { 4 | const ColorPicker({ 5 | super.key, 6 | required this.color, 7 | required this.onColorChanged, 8 | required this.label, 9 | }); 10 | 11 | final Color color; 12 | final ValueChanged onColorChanged; 13 | final String label; 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | final themeColors = [ 18 | Colors.red, 19 | Colors.pink, 20 | Colors.purple, 21 | Colors.deepPurple, 22 | Colors.indigo, 23 | Colors.blue, 24 | Colors.lightBlue, 25 | Colors.cyan, 26 | Colors.teal, 27 | Colors.green, 28 | Colors.lightGreen, 29 | Colors.lime, 30 | Colors.yellow, 31 | Colors.amber, 32 | Colors.orange, 33 | Colors.deepOrange, 34 | Colors.brown, 35 | Colors.grey, 36 | Colors.blueGrey, 37 | // Colors.black, 38 | // Colors.white, 39 | ]; 40 | return ExpansionTile( 41 | title: Text(label), 42 | leading: const Icon(Icons.color_lens), 43 | children: [ 44 | Wrap( 45 | children: themeColors 46 | .map( 47 | (item) => Padding( 48 | padding: const EdgeInsets.all(8.0), 49 | child: InkWell( 50 | onTap: () => onColorChanged(item), 51 | child: Container( 52 | width: 40, 53 | height: 40, 54 | decoration: BoxDecoration( 55 | color: item, 56 | shape: BoxShape.circle, 57 | border: Border.all( 58 | color: item.value == color.value 59 | ? Colors.black 60 | : Colors.transparent, 61 | width: 2, 62 | ), 63 | ), 64 | ), 65 | ), 66 | ), 67 | ) 68 | .toList(), 69 | ), 70 | ], 71 | ); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CADisableMinimumFrameDurationOnPhone 6 | 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleDisplayName 10 | Flutter Piano 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | flutter_piano 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | $(FLUTTER_BUILD_NAME) 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | $(FLUTTER_BUILD_NUMBER) 27 | LSRequiresIPhoneOS 28 | 29 | UIApplicationSupportsIndirectInputEvents 30 | 31 | UILaunchStoryboardName 32 | LaunchScreen 33 | UIMainStoryboardFile 34 | Main 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | UIViewControllerBasedStatusBarAppearance 49 | 50 | ITSAppUsesNonExemptEncryption 51 | 52 | CFBundleLocalizations 53 | 54 | en 55 | es 56 | de 57 | fr 58 | ja 59 | ko 60 | ru 61 | zh 62 | 63 | 64 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /lib/l10n/app_zh.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "zh", 3 | "title": "口袋钢琴", 4 | "@title": {}, 5 | "sustain": "延音", 6 | "@sustain": {}, 7 | "themeBrightness": "主题亮度", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "明亮", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "系统", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "深色", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "主题颜色", 16 | "@themeColor": {}, 17 | "keySettings": "按键设置", 18 | "@keySettings": {}, 19 | "keyWidth": "按键宽度", 20 | "@keyWidth": {}, 21 | "invertKeys": "反转按键", 22 | "@invertKeys": {}, 23 | "colorRole": "颜色角色", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "主要", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "主要容器", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "次要", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "次要容器", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "三级", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "三级容器", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "表面", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "反向表面", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "单色", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "按键标签", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "触觉反馈", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "无", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "升号", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "降号", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "两者都", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "MIDI", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "分屏键盘", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "恢复默认值", 60 | "@resetToDefault": {}, 61 | "disableScroll": "禁用滚动", 62 | "@disableScroll": {}, 63 | "languageEn": "英语", 64 | "@languageEn": {}, 65 | "languageDe": "德语", 66 | "@languageDe": {}, 67 | "languageEs": "西班牙语", 68 | "@languageEs": {}, 69 | "languageFr": "法语", 70 | "@languageFr": {}, 71 | "languageJa": "日语", 72 | "@languageJa": {}, 73 | "languageKo": "韩语", 74 | "@languageKo": {}, 75 | "languageZh": "简体中", 76 | "@languageZh": {}, 77 | "languageRu": "俄语", 78 | "@languageRu": {}, 79 | "language": "语言 (Yǔyán)", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/l10n/app_ko.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "ko", 3 | "title": "포켓 피아노", 4 | "@title": {}, 5 | "sustain": "서스테인", 6 | "@sustain": {}, 7 | "themeBrightness": "테마 밝기", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "밝게", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "시스템", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "어둡게", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "테마 색상", 16 | "@themeColor": {}, 17 | "keySettings": "키 설정", 18 | "@keySettings": {}, 19 | "keyWidth": "키 너비", 20 | "@keyWidth": {}, 21 | "invertKeys": "키 반전", 22 | "@invertKeys": {}, 23 | "colorRole": "색상 역할", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "기본", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "기본 컨테이너", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "보조", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "보조 컨테이너", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "3차", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "3차 컨테이너", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "표면", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "역전된 표면", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "모노크롬", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "키 레이블", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "햅틱 피드백", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "없음", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "샵", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "플랫", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "모두", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "미디", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "분할 키보드", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "기본값으로 재설정", 60 | "@resetToDefault": {}, 61 | "disableScroll": "스크롤 비활성화", 62 | "@disableScroll": {}, 63 | "languageEn": "영어", 64 | "@languageEn": {}, 65 | "languageDe": "독일어", 66 | "@languageDe": {}, 67 | "languageEs": "스페인어", 68 | "@languageEs": {}, 69 | "languageFr": "프랑스어", 70 | "@languageFr": {}, 71 | "languageJa": "일본어", 72 | "@languageJa": {}, 73 | "languageKo": "한국어", 74 | "@languageKo": {}, 75 | "languageZh": "중국어", 76 | "@languageZh": {}, 77 | "languageRu": "러시아어", 78 | "@languageRu": {}, 79 | "language": "언어 (Eongeo)", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /web/safari-pinned-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | Created by potrace 1.14, written by Peter Selinger 2001-2017 9 | 10 | 12 | 30 | 32 | 33 | 35 | 37 | 39 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /lib/l10n/app_ja.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "ja", 3 | "title": "ポケットピアノ", 4 | "@title": {}, 5 | "sustain": "サステイン", 6 | "@sustain": {}, 7 | "themeBrightness": "テーマの明るさ", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "明るい", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "システム", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "暗い", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "テーマカラー", 16 | "@themeColor": {}, 17 | "keySettings": "キー設定", 18 | "@keySettings": {}, 19 | "keyWidth": "キーの幅", 20 | "@keyWidth": {}, 21 | "invertKeys": "キーを反転", 22 | "@invertKeys": {}, 23 | "colorRole": "カラーロール", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "プライマリ", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "プライマリコンテナ", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "セカンダリ", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "セカンダリコンテナ", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "三次", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "三次コンテナ", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "表面", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "逆表面", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "モノクロ", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "キーラベル", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "触覚フィードバック", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "なし", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "シャープ", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "フラット", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "両方", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "MIDI", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "分割キーボード", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "デフォルトにリセット", 60 | "@resetToDefault": {}, 61 | "disableScroll": "スクロールを無効にする", 62 | "@disableScroll": {}, 63 | "languageEn": "英語", 64 | "@languageEn": {}, 65 | "languageDe": "ドイツ語", 66 | "@languageDe": {}, 67 | "languageEs": "スペイン語", 68 | "@languageEs": {}, 69 | "languageFr": "フランス語", 70 | "@languageFr": {}, 71 | "languageJa": "日本語", 72 | "@languageJa": {}, 73 | "languageKo": "韓国語", 74 | "@languageKo": {}, 75 | "languageZh": "简体中文", 76 | "@languageZh": {}, 77 | "languageRu": "Русский", 78 | "@languageRu": {}, 79 | "language": "言語 (Gengo)", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/l10n/app_en.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "en", 3 | "title": "The Pocket Piano", 4 | "@title": {}, 5 | "sustain": "Sustain", 6 | "@sustain": {}, 7 | "themeBrightness": "Theme Brightness", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "Light", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "System", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "Dark", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "Theme Color", 16 | "@themeColor": {}, 17 | "keySettings": "Key Settings", 18 | "@keySettings": {}, 19 | "keyWidth": "Key Width", 20 | "@keyWidth": {}, 21 | "invertKeys": "Invert Keys", 22 | "@invertKeys": {}, 23 | "colorRole": "Color Role", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "Primary", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "Primary Container", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "Secondary", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "Secondary Container", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "Tertiary", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "Tertiary Container", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "Surface", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "Inverse Surface", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "Mono Chrome", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "Key Labels", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "Haptic Feedback", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "None", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "Sharps", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "Flats", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "Both", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "Midi", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "Split Keyboard", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "Reset to Default", 60 | "@resetToDefault": {}, 61 | "disableScroll": "Disable Scroll", 62 | "@disableScroll": {}, 63 | "languageEn": "English", 64 | "@languageEn": {}, 65 | "languageDe": "German", 66 | "@languageDe": {}, 67 | "languageEs": "Spanish", 68 | "@languageEs": {}, 69 | "languageFr": "French", 70 | "@languageFr": {}, 71 | "languageJa": "Japanese", 72 | "@languageJa": {}, 73 | "languageKo": "Korean", 74 | "@languageKo": {}, 75 | "languageZh": "Chinese", 76 | "@languageZh": {}, 77 | "languageRu": "Russian", 78 | "@languageRu": {}, 79 | "language": "Language", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | def keystorePropertiesFile = rootProject.file("key.properties") 25 | def keystoreProperties = new Properties() 26 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) 27 | 28 | apply plugin: 'com.android.application' 29 | apply plugin: 'kotlin-android' 30 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 31 | 32 | android { 33 | compileSdkVersion flutter.compileSdkVersion 34 | ndkVersion flutter.ndkVersion 35 | 36 | compileOptions { 37 | sourceCompatibility JavaVersion.VERSION_1_8 38 | targetCompatibility JavaVersion.VERSION_1_8 39 | } 40 | 41 | kotlinOptions { 42 | jvmTarget = '1.8' 43 | } 44 | 45 | sourceSets { 46 | main.java.srcDirs += 'src/main/kotlin' 47 | } 48 | 49 | signingConfigs { 50 | release { 51 | keyAlias keystoreProperties['keyAlias'] 52 | keyPassword keystoreProperties['keyPassword'] 53 | storeFile file(keystoreProperties['storeFile']) 54 | storePassword keystoreProperties['storePassword'] 55 | } 56 | } 57 | 58 | defaultConfig { 59 | applicationId "com.appleeducate.flutter_piano" 60 | // minSdkVersion flutter.minSdkVersion 61 | minSdkVersion 24 62 | targetSdkVersion flutter.targetSdkVersion 63 | versionCode flutterVersionCode.toInteger() 64 | versionName flutterVersionName 65 | } 66 | 67 | buildTypes { 68 | release { 69 | signingConfig signingConfigs.release 70 | } 71 | debug { 72 | // TODO: Add your own signing config for the release build. 73 | // Signing with the debug keys for now, so `flutter run --release` works. 74 | signingConfig signingConfigs.debug 75 | } 76 | } 77 | } 78 | 79 | flutter { 80 | source '../..' 81 | } 82 | 83 | dependencies { 84 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 85 | } 86 | -------------------------------------------------------------------------------- /lib/l10n/app_de.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "de", 3 | "title": "Die Taschenpiano", 4 | "@title": {}, 5 | "sustain": "Anschlag", 6 | "@sustain": {}, 7 | "themeBrightness": "Themenhelligkeit", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "Hell", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "System", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "Dunkel", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "Themenfarbe", 16 | "@themeColor": {}, 17 | "keySettings": "Tasteneinstellungen", 18 | "@keySettings": {}, 19 | "keyWidth": "Tastenbreite", 20 | "@keyWidth": {}, 21 | "invertKeys": "Tasten invertieren", 22 | "@invertKeys": {}, 23 | "colorRole": "Farbrolle", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "Primär", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "Primärer Container", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "Sekundär", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "Sekundärer Container", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "Tertiär", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "Tertiärer Container", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "Oberfläche", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "Inverse Oberfläche", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "Monochrom", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "Tastenbeschriftungen", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "Haptisches Feedback", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "Keine", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "Kreuzzeichen", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "Bleistifte", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "Beide", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "Midi", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "Geteilte Tastatur", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "Zurücksetzen auf Standard", 60 | "@resetToDefault": {}, 61 | "disableScroll": "Scrollen deaktivieren", 62 | "@disableScroll": {}, 63 | "languageEn": "Englisch", 64 | "@languageEn": {}, 65 | "languageDe": "Deutsch", 66 | "@languageDe": {}, 67 | "languageEs": "Spanisch", 68 | "@languageEs": {}, 69 | "languageFr": "Französisch", 70 | "@languageFr": {}, 71 | "languageJa": "Japanisch", 72 | "@languageJa": {}, 73 | "languageKo": "Koreanisch", 74 | "@languageKo": {}, 75 | "languageZh": "Chinesisch", 76 | "@languageZh": {}, 77 | "languageRu": "Русский", 78 | "@languageRu": {}, 79 | "language": "Sprache", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/presentation/widget/piano_view.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 3 | 4 | import '../../data/source/settings.dart'; 5 | import 'piano_section.dart'; 6 | import 'piano_slider.dart'; 7 | 8 | class PianoView extends ConsumerStatefulWidget { 9 | const PianoView({ 10 | super.key, 11 | required this.octaves, 12 | required this.onPlay, 13 | }); 14 | 15 | final int octaves; 16 | final ValueChanged onPlay; 17 | 18 | @override 19 | ConsumerState createState() => _PianoViewState(); 20 | } 21 | 22 | class _PianoViewState extends ConsumerState { 23 | final _controller = ScrollController(); 24 | double currentOffset = 0; 25 | 26 | @override 27 | void initState() { 28 | super.initState(); 29 | _controller.addListener(() { 30 | if (mounted) { 31 | setState(() { 32 | currentOffset = _controller.offset; 33 | }); 34 | } 35 | }); 36 | WidgetsBinding.instance.addPostFrameCallback((_) { 37 | final keyWidth = ref.read(keyWidthProvider) + 4; 38 | final middleC4Offset = ((keyWidth * 7) * 3) - (keyWidth * 3.5); 39 | if (mounted) { 40 | setState(() { 41 | currentOffset = middleC4Offset; 42 | }); 43 | } 44 | _controller.jumpTo(currentOffset); 45 | }); 46 | } 47 | 48 | @override 49 | Widget build(BuildContext context) { 50 | final offset = currentOffset; 51 | final keyWidth = ref.read(keyWidthProvider) + 4; 52 | final sectionSize = keyWidth * 7; 53 | final disableScroll = ref.watch(disableScrollProvider); 54 | final physics = disableScroll 55 | ? const NeverScrollableScrollPhysics() 56 | : const BouncingScrollPhysics(); 57 | return Column( 58 | children: [ 59 | ConstrainedBox( 60 | constraints: const BoxConstraints( 61 | maxHeight: 50, 62 | ), 63 | child: PianoSlider( 64 | viewport: sectionSize, 65 | offset: offset, 66 | offsetChanged: (value) { 67 | _controller.jumpTo(value); 68 | if (mounted) { 69 | setState(() { 70 | currentOffset = value; 71 | }); 72 | } 73 | }, 74 | ), 75 | ), 76 | Expanded( 77 | flex: 1, 78 | child: ListView.builder( 79 | physics: physics, 80 | itemCount: widget.octaves, 81 | controller: _controller, 82 | scrollDirection: Axis.horizontal, 83 | itemBuilder: (context, index) { 84 | return PianoSection( 85 | index: index, 86 | onPlay: widget.onPlay, 87 | ); 88 | }, 89 | ), 90 | ), 91 | ], 92 | ); 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /lib/l10n/app_ru.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "ru", 3 | "title": "Карманный фортепиано", 4 | "@title": {}, 5 | "sustain": "Стойка", 6 | "@sustain": {}, 7 | "themeBrightness": "Яркость темы", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "Светлая", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "Система", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "Темная", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "Цвет темы", 16 | "@themeColor": {}, 17 | "keySettings": "Настройки клавиш", 18 | "@keySettings": {}, 19 | "keyWidth": "Ширина клавиши", 20 | "@keyWidth": {}, 21 | "invertKeys": "Инвертировать клавиши", 22 | "@invertKeys": {}, 23 | "colorRole": "Роль цвета", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "Основной", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "Основной контейнер", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "Вторичный", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "Вторичный контейнер", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "Третичный", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "Третичный контейнер", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "Поверхность", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "Обратная поверхность", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "Монохромный", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "Этикетки клавиш", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "Обратная тактильная связь", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "Нет", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "Диезы", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "Бемолы", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "Оба", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "МиДи", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "Разделенный клавиатура", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "Сбросить к значениям по умолчанию", 60 | "@resetToDefault": {}, 61 | "disableScroll": "Отключить прокрутку", 62 | "@disableScroll": {}, 63 | "languageEn": "Английский", 64 | "@languageEn": {}, 65 | "languageDe": "Немецкий", 66 | "@languageDe": {}, 67 | "languageEs": "Испанский", 68 | "@languageEs": {}, 69 | "languageFr": "Французский", 70 | "@languageFr": {}, 71 | "languageJa": "Японский", 72 | "@languageJa": {}, 73 | "languageKo": "Корейский", 74 | "@languageKo": {}, 75 | "languageZh": "Китайский", 76 | "@languageZh": {}, 77 | "languageRu": "Русский", 78 | "@languageRu": {}, 79 | "language": "Язык", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/l10n/app_fr.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "fr", 3 | "title": "Le Piano de Poche", 4 | "@title": {}, 5 | "sustain": "Suspension", 6 | "@sustain": {}, 7 | "themeBrightness": "Luminosité du thème", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "Clair", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "Système", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "Sombre", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "Couleur du thème", 16 | "@themeColor": {}, 17 | "keySettings": "Paramètres des touches", 18 | "@keySettings": {}, 19 | "keyWidth": "Largeur des touches", 20 | "@keyWidth": {}, 21 | "invertKeys": "Inverser les touches", 22 | "@invertKeys": {}, 23 | "colorRole": "Rôle de la couleur", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "Primaire", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "Conteneur primaire", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "Secondaire", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "Conteneur secondaire", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "Tertiaire", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "Conteneur tertiaire", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "Surface", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "Surface inverse", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "Monochrome", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "Étiquettes des touches", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "Rétroaction haptique", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "Aucune", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "Dièses", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "Bémols", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "Les deux", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "Midi", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "Clavier divisé", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "Réinitialiser aux valeurs par défaut", 60 | "@resetToDefault": {}, 61 | "disableScroll": "Désactiver le défilement", 62 | "@disableScroll": {}, 63 | "languageEn": "Anglais", 64 | "@languageEn": {}, 65 | "languageDe": "Allemand", 66 | "@languageDe": {}, 67 | "languageEs": "Espagnol", 68 | "@languageEs": {}, 69 | "languageFr": "Français", 70 | "@languageFr": {}, 71 | "languageJa": "Japonais", 72 | "@languageJa": {}, 73 | "languageKo": "Coréen", 74 | "@languageKo": {}, 75 | "languageZh": "Chinois", 76 | "@languageZh": {}, 77 | "languageRu": "Russe", 78 | "@languageRu": {}, 79 | "language": "Langue", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/l10n/app_es.arb: -------------------------------------------------------------------------------- 1 | { 2 | "@@locale": "es", 3 | "title": "El piano de bolsillo", 4 | "@title": {}, 5 | "sustain": "Sostenimiento", 6 | "@sustain": {}, 7 | "themeBrightness": "Brillo del tema", 8 | "@themeBrightness": {}, 9 | "themeBrightnessLight": "Claro", 10 | "@themeBrightnessLight": {}, 11 | "themeBrightnessSystem": "Sistema", 12 | "@themeBrightnessSystem": {}, 13 | "themeBrightnessDark": "Oscuro", 14 | "@themeBrightnessDark": {}, 15 | "themeColor": "Color del tema", 16 | "@themeColor": {}, 17 | "keySettings": "Configuración de las teclas", 18 | "@keySettings": {}, 19 | "keyWidth": "Ancho de las teclas", 20 | "@keyWidth": {}, 21 | "invertKeys": "Invertir teclas", 22 | "@invertKeys": {}, 23 | "colorRole": "Rol de color", 24 | "@colorRole": {}, 25 | "colorRolePrimary": "Principal", 26 | "@colorRolePrimary": {}, 27 | "colorRolePrimaryContainer": "Contenedor principal", 28 | "@colorRolePrimaryContainer": {}, 29 | "colorRoleSecondary": "Secundario", 30 | "@colorRoleSecondary": {}, 31 | "colorRoleSecondaryContainer": "Contenedor secundario", 32 | "@colorRoleSecondaryContainer": {}, 33 | "colorRoleTertiary": "Terciario", 34 | "@colorRoleTertiary": {}, 35 | "colorRoleTertiaryContainer": "Contenedor terciario", 36 | "@colorRoleTertiaryContainer": {}, 37 | "colorRoleSurface": "Superficie", 38 | "@colorRoleSurface": {}, 39 | "colorRoleInverseSurface": "Superficie inversa", 40 | "@colorRoleInverseSurface": {}, 41 | "colorRoleMonoChrome": "Monocromo", 42 | "@colorRoleMonoChrome": {}, 43 | "keyLabels": "Etiquetas de las teclas", 44 | "@keyLabels": {}, 45 | "hapticFeedback": "Retroalimentación háptica", 46 | "@hapticFeedback": {}, 47 | "keyLabelsNone": "Ninguna", 48 | "@keyLabelsNone": {}, 49 | "keyLabelsSharps": "Sostenidos", 50 | "@keyLabelsSharps": {}, 51 | "keyLabelsFlats": "Bemoles", 52 | "@keyLabelsFlats": {}, 53 | "keyLabelsBoth": "Ambos", 54 | "@keyLabelsBoth": {}, 55 | "keyLabelsMidi": "Midi", 56 | "@keyLabelsMidi": {}, 57 | "splitKeyboard": "Teclado dividido", 58 | "@splitKeyboard": {}, 59 | "resetToDefault": "Restablecer a los valores predeterminados", 60 | "@resetToDefault": {}, 61 | "disableScroll": "Deshabilitar desplazamiento", 62 | "@disableScroll": {}, 63 | "languageEn": "English", 64 | "@languageEn": {}, 65 | "languageDe": "Español", 66 | "@languageDe": {}, 67 | "languageEs": "Español", 68 | "@languageEs": {}, 69 | "languageFr": "Français", 70 | "@languageFr": {}, 71 | "languageJa": "Japonés", 72 | "@languageJa": {}, 73 | "languageKo": "Coreano", 74 | "@languageKo": {}, 75 | "languageZh": "Chino", 76 | "@languageZh": {}, 77 | "languageRu": "Ruso", 78 | "@languageRu": {}, 79 | "language": "Lengua", 80 | "@language": {} 81 | } -------------------------------------------------------------------------------- /lib/presentation/view/app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_gen/gen_l10n/app_localizations.dart'; 3 | import 'package:flutter_riverpod/flutter_riverpod.dart'; 4 | import 'package:flutter_whatsnew/flutter_whatsnew.dart'; 5 | import 'package:shared_preferences/shared_preferences.dart'; 6 | 7 | import '../../data/source/settings.dart'; 8 | import '../../src/version.dart'; 9 | import 'home.dart'; 10 | 11 | final localeProvider = StateProvider( 12 | (ref) => null, 13 | ); 14 | 15 | class ThePocketPiano extends ConsumerStatefulWidget { 16 | const ThePocketPiano({super.key}); 17 | 18 | @override 19 | ConsumerState createState() => _ThePocketPianoState(); 20 | } 21 | 22 | class _ThePocketPianoState extends ConsumerState { 23 | static const updateKey = 'app_check'; 24 | final _navKey = GlobalKey(); 25 | 26 | @override 27 | void initState() { 28 | super.initState(); 29 | WidgetsBinding.instance.addPostFrameCallback((_) { 30 | checkForUpdate(context); 31 | }); 32 | } 33 | 34 | Future checkForUpdate(BuildContext context) async { 35 | final nav = _navKey.currentState!; 36 | final prefs = await SharedPreferences.getInstance(); 37 | final lastCheck = prefs.getString(updateKey); 38 | const appVersion = packageVersion; 39 | if (lastCheck == null || lastCheck != appVersion) { 40 | final _ = await nav.push( 41 | MaterialPageRoute( 42 | builder: (context) => const WhatsNewPage.changelog(adaptive: false), 43 | fullscreenDialog: true, 44 | ), 45 | ); 46 | await prefs.setString(updateKey, appVersion); 47 | } 48 | } 49 | 50 | @override 51 | Widget build(BuildContext context) { 52 | final color = ref.watch(themeColorProvider); 53 | final mode = ref.watch(themeModeProvider); 54 | const appBarTheme = AppBarTheme( 55 | backgroundColor: Colors.black, 56 | foregroundColor: Colors.white, 57 | ); 58 | return MaterialApp( 59 | debugShowCheckedModeBanner: false, 60 | title: 'The Pocket Piano', 61 | theme: ThemeData.light(useMaterial3: true).copyWith( 62 | colorScheme: ColorScheme.fromSeed( 63 | seedColor: color, 64 | brightness: Brightness.light, 65 | ), 66 | appBarTheme: appBarTheme, 67 | ), 68 | darkTheme: ThemeData.dark(useMaterial3: true).copyWith( 69 | colorScheme: ColorScheme.fromSeed( 70 | seedColor: color, 71 | brightness: Brightness.dark, 72 | ), 73 | appBarTheme: appBarTheme, 74 | ), 75 | navigatorKey: _navKey, 76 | themeMode: mode, 77 | locale: ref.watch(localeProvider), 78 | localizationsDelegates: AppLocalizations.localizationsDelegates, 79 | supportedLocales: AppLocalizations.supportedLocales, 80 | home: const Home(), 81 | ); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /windows/runner/Runner.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #pragma code_page(65001) 4 | #include "resource.h" 5 | 6 | #define APSTUDIO_READONLY_SYMBOLS 7 | ///////////////////////////////////////////////////////////////////////////// 8 | // 9 | // Generated from the TEXTINCLUDE 2 resource. 10 | // 11 | #include "winres.h" 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | #undef APSTUDIO_READONLY_SYMBOLS 15 | 16 | ///////////////////////////////////////////////////////////////////////////// 17 | // English (United States) resources 18 | 19 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 21 | 22 | #ifdef APSTUDIO_INVOKED 23 | ///////////////////////////////////////////////////////////////////////////// 24 | // 25 | // TEXTINCLUDE 26 | // 27 | 28 | 1 TEXTINCLUDE 29 | BEGIN 30 | "resource.h\0" 31 | END 32 | 33 | 2 TEXTINCLUDE 34 | BEGIN 35 | "#include ""winres.h""\r\n" 36 | "\0" 37 | END 38 | 39 | 3 TEXTINCLUDE 40 | BEGIN 41 | "\r\n" 42 | "\0" 43 | END 44 | 45 | #endif // APSTUDIO_INVOKED 46 | 47 | 48 | ///////////////////////////////////////////////////////////////////////////// 49 | // 50 | // Icon 51 | // 52 | 53 | // Icon with lowest ID value placed first to ensure application icon 54 | // remains consistent on all systems. 55 | IDI_APP_ICON ICON "resources\\app_icon.ico" 56 | 57 | 58 | ///////////////////////////////////////////////////////////////////////////// 59 | // 60 | // Version 61 | // 62 | 63 | #if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) 64 | #define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD 65 | #else 66 | #define VERSION_AS_NUMBER 1,0,0,0 67 | #endif 68 | 69 | #if defined(FLUTTER_VERSION) 70 | #define VERSION_AS_STRING FLUTTER_VERSION 71 | #else 72 | #define VERSION_AS_STRING "1.0.0" 73 | #endif 74 | 75 | VS_VERSION_INFO VERSIONINFO 76 | FILEVERSION VERSION_AS_NUMBER 77 | PRODUCTVERSION VERSION_AS_NUMBER 78 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 79 | #ifdef _DEBUG 80 | FILEFLAGS VS_FF_DEBUG 81 | #else 82 | FILEFLAGS 0x0L 83 | #endif 84 | FILEOS VOS__WINDOWS32 85 | FILETYPE VFT_APP 86 | FILESUBTYPE 0x0L 87 | BEGIN 88 | BLOCK "StringFileInfo" 89 | BEGIN 90 | BLOCK "040904e4" 91 | BEGIN 92 | VALUE "CompanyName", "com.appleeducate" "\0" 93 | VALUE "FileDescription", "flutter_piano" "\0" 94 | VALUE "FileVersion", VERSION_AS_STRING "\0" 95 | VALUE "InternalName", "flutter_piano" "\0" 96 | VALUE "LegalCopyright", "Copyright (C) 2023 com.appleeducate. All rights reserved." "\0" 97 | VALUE "OriginalFilename", "flutter_piano.exe" "\0" 98 | VALUE "ProductName", "flutter_piano" "\0" 99 | VALUE "ProductVersion", VERSION_AS_STRING "\0" 100 | END 101 | END 102 | BLOCK "VarFileInfo" 103 | BEGIN 104 | VALUE "Translation", 0x409, 1252 105 | END 106 | END 107 | 108 | #endif // English (United States) resources 109 | ///////////////////////////////////////////////////////////////////////////// 110 | 111 | 112 | 113 | #ifndef APSTUDIO_INVOKED 114 | ///////////////////////////////////////////////////////////////////////////// 115 | // 116 | // Generated from the TEXTINCLUDE 3 resource. 117 | // 118 | 119 | 120 | ///////////////////////////////////////////////////////////////////////////// 121 | #endif // not APSTUDIO_INVOKED 122 | -------------------------------------------------------------------------------- /icons/ios/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images":[ 3 | { 4 | "idiom":"iphone", 5 | "size":"20x20", 6 | "scale":"2x", 7 | "filename":"Icon-App-20x20@2x.png" 8 | }, 9 | { 10 | "idiom":"iphone", 11 | "size":"20x20", 12 | "scale":"3x", 13 | "filename":"Icon-App-20x20@3x.png" 14 | }, 15 | { 16 | "idiom":"iphone", 17 | "size":"29x29", 18 | "scale":"1x", 19 | "filename":"Icon-App-29x29@1x.png" 20 | }, 21 | { 22 | "idiom":"iphone", 23 | "size":"29x29", 24 | "scale":"2x", 25 | "filename":"Icon-App-29x29@2x.png" 26 | }, 27 | { 28 | "idiom":"iphone", 29 | "size":"29x29", 30 | "scale":"3x", 31 | "filename":"Icon-App-29x29@3x.png" 32 | }, 33 | { 34 | "idiom":"iphone", 35 | "size":"40x40", 36 | "scale":"2x", 37 | "filename":"Icon-App-40x40@2x.png" 38 | }, 39 | { 40 | "idiom":"iphone", 41 | "size":"40x40", 42 | "scale":"3x", 43 | "filename":"Icon-App-40x40@3x.png" 44 | }, 45 | { 46 | "idiom":"iphone", 47 | "size":"60x60", 48 | "scale":"2x", 49 | "filename":"Icon-App-60x60@2x.png" 50 | }, 51 | { 52 | "idiom":"iphone", 53 | "size":"60x60", 54 | "scale":"3x", 55 | "filename":"Icon-App-60x60@3x.png" 56 | }, 57 | { 58 | "idiom":"iphone", 59 | "size":"76x76", 60 | "scale":"2x", 61 | "filename":"Icon-App-76x76@2x.png" 62 | }, 63 | { 64 | "idiom":"ipad", 65 | "size":"20x20", 66 | "scale":"1x", 67 | "filename":"Icon-App-20x20@1x.png" 68 | }, 69 | { 70 | "idiom":"ipad", 71 | "size":"20x20", 72 | "scale":"2x", 73 | "filename":"Icon-App-20x20@2x.png" 74 | }, 75 | { 76 | "idiom":"ipad", 77 | "size":"29x29", 78 | "scale":"1x", 79 | "filename":"Icon-App-29x29@1x.png" 80 | }, 81 | { 82 | "idiom":"ipad", 83 | "size":"29x29", 84 | "scale":"2x", 85 | "filename":"Icon-App-29x29@2x.png" 86 | }, 87 | { 88 | "idiom":"ipad", 89 | "size":"40x40", 90 | "scale":"1x", 91 | "filename":"Icon-App-40x40@1x.png" 92 | }, 93 | { 94 | "idiom":"ipad", 95 | "size":"40x40", 96 | "scale":"2x", 97 | "filename":"Icon-App-40x40@2x.png" 98 | }, 99 | { 100 | "idiom":"ipad", 101 | "size":"76x76", 102 | "scale":"1x", 103 | "filename":"Icon-App-76x76@1x.png" 104 | }, 105 | { 106 | "idiom":"ipad", 107 | "size":"76x76", 108 | "scale":"2x", 109 | "filename":"Icon-App-76x76@2x.png" 110 | }, 111 | { 112 | "idiom":"ipad", 113 | "size":"83.5x83.5", 114 | "scale":"2x", 115 | "filename":"Icon-App-83.5x83.5@2x.png" 116 | }, 117 | { 118 | "size" : "1024x1024", 119 | "idiom" : "ios-marketing", 120 | "scale" : "1x", 121 | "filename" : "ItunesArtwork@2x.png" 122 | } 123 | ], 124 | "info":{ 125 | "version":1, 126 | "author":"makeappicon" 127 | } 128 | } 129 | -------------------------------------------------------------------------------- /windows/runner/win32_window.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_WIN32_WINDOW_H_ 2 | #define RUNNER_WIN32_WINDOW_H_ 3 | 4 | #include 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | // A class abstraction for a high DPI-aware Win32 Window. Intended to be 11 | // inherited from by classes that wish to specialize with custom 12 | // rendering and input handling 13 | class Win32Window { 14 | public: 15 | struct Point { 16 | unsigned int x; 17 | unsigned int y; 18 | Point(unsigned int x, unsigned int y) : x(x), y(y) {} 19 | }; 20 | 21 | struct Size { 22 | unsigned int width; 23 | unsigned int height; 24 | Size(unsigned int width, unsigned int height) 25 | : width(width), height(height) {} 26 | }; 27 | 28 | Win32Window(); 29 | virtual ~Win32Window(); 30 | 31 | // Creates a win32 window with |title| that is positioned and sized using 32 | // |origin| and |size|. New windows are created on the default monitor. Window 33 | // sizes are specified to the OS in physical pixels, hence to ensure a 34 | // consistent size this function will scale the inputted width and height as 35 | // as appropriate for the default monitor. The window is invisible until 36 | // |Show| is called. Returns true if the window was created successfully. 37 | bool Create(const std::wstring& title, const Point& origin, const Size& size); 38 | 39 | // Show the current window. Returns true if the window was successfully shown. 40 | bool Show(); 41 | 42 | // Release OS resources associated with window. 43 | void Destroy(); 44 | 45 | // Inserts |content| into the window tree. 46 | void SetChildContent(HWND content); 47 | 48 | // Returns the backing Window handle to enable clients to set icon and other 49 | // window properties. Returns nullptr if the window has been destroyed. 50 | HWND GetHandle(); 51 | 52 | // If true, closing this window will quit the application. 53 | void SetQuitOnClose(bool quit_on_close); 54 | 55 | // Return a RECT representing the bounds of the current client area. 56 | RECT GetClientArea(); 57 | 58 | protected: 59 | // Processes and route salient window messages for mouse handling, 60 | // size change and DPI. Delegates handling of these to member overloads that 61 | // inheriting classes can handle. 62 | virtual LRESULT MessageHandler(HWND window, 63 | UINT const message, 64 | WPARAM const wparam, 65 | LPARAM const lparam) noexcept; 66 | 67 | // Called when CreateAndShow is called, allowing subclass window-related 68 | // setup. Subclasses should return false if setup fails. 69 | virtual bool OnCreate(); 70 | 71 | // Called when Destroy is called. 72 | virtual void OnDestroy(); 73 | 74 | private: 75 | friend class WindowClassRegistrar; 76 | 77 | // OS callback called by message pump. Handles the WM_NCCREATE message which 78 | // is passed when the non-client area is being created and enables automatic 79 | // non-client DPI scaling so that the non-client area automatically 80 | // responds to changes in DPI. All other messages are handled by 81 | // MessageHandler. 82 | static LRESULT CALLBACK WndProc(HWND const window, 83 | UINT const message, 84 | WPARAM const wparam, 85 | LPARAM const lparam) noexcept; 86 | 87 | // Retrieves a class instance pointer for |window| 88 | static Win32Window* GetThisFromHandle(HWND const window) noexcept; 89 | 90 | // Update the window frame's theme to match the system theme. 91 | static void UpdateTheme(HWND const window); 92 | 93 | bool quit_on_close_ = false; 94 | 95 | // window handle for top level window. 96 | HWND window_handle_ = nullptr; 97 | 98 | // window handle for hosted content. 99 | HWND child_content_ = nullptr; 100 | }; 101 | 102 | #endif // RUNNER_WIN32_WINDOW_H_ 103 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 43 | 49 | 50 | 51 | 52 | 53 | 63 | 65 | 71 | 72 | 73 | 74 | 80 | 82 | 88 | 89 | 90 | 91 | 93 | 94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /windows/flutter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # This file controls Flutter-level build steps. It should not be edited. 2 | cmake_minimum_required(VERSION 3.14) 3 | 4 | set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") 5 | 6 | # Configuration provided via flutter tool. 7 | include(${EPHEMERAL_DIR}/generated_config.cmake) 8 | 9 | # TODO: Move the rest of this into files in ephemeral. See 10 | # https://github.com/flutter/flutter/issues/57146. 11 | set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") 12 | 13 | # === Flutter Library === 14 | set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") 15 | 16 | # Published to parent scope for install step. 17 | set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) 18 | set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) 19 | set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) 20 | set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) 21 | 22 | list(APPEND FLUTTER_LIBRARY_HEADERS 23 | "flutter_export.h" 24 | "flutter_windows.h" 25 | "flutter_messenger.h" 26 | "flutter_plugin_registrar.h" 27 | "flutter_texture_registrar.h" 28 | ) 29 | list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") 30 | add_library(flutter INTERFACE) 31 | target_include_directories(flutter INTERFACE 32 | "${EPHEMERAL_DIR}" 33 | ) 34 | target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") 35 | add_dependencies(flutter flutter_assemble) 36 | 37 | # === Wrapper === 38 | list(APPEND CPP_WRAPPER_SOURCES_CORE 39 | "core_implementations.cc" 40 | "standard_codec.cc" 41 | ) 42 | list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") 43 | list(APPEND CPP_WRAPPER_SOURCES_PLUGIN 44 | "plugin_registrar.cc" 45 | ) 46 | list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") 47 | list(APPEND CPP_WRAPPER_SOURCES_APP 48 | "flutter_engine.cc" 49 | "flutter_view_controller.cc" 50 | ) 51 | list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") 52 | 53 | # Wrapper sources needed for a plugin. 54 | add_library(flutter_wrapper_plugin STATIC 55 | ${CPP_WRAPPER_SOURCES_CORE} 56 | ${CPP_WRAPPER_SOURCES_PLUGIN} 57 | ) 58 | apply_standard_settings(flutter_wrapper_plugin) 59 | set_target_properties(flutter_wrapper_plugin PROPERTIES 60 | POSITION_INDEPENDENT_CODE ON) 61 | set_target_properties(flutter_wrapper_plugin PROPERTIES 62 | CXX_VISIBILITY_PRESET hidden) 63 | target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) 64 | target_include_directories(flutter_wrapper_plugin PUBLIC 65 | "${WRAPPER_ROOT}/include" 66 | ) 67 | add_dependencies(flutter_wrapper_plugin flutter_assemble) 68 | 69 | # Wrapper sources needed for the runner. 70 | add_library(flutter_wrapper_app STATIC 71 | ${CPP_WRAPPER_SOURCES_CORE} 72 | ${CPP_WRAPPER_SOURCES_APP} 73 | ) 74 | apply_standard_settings(flutter_wrapper_app) 75 | target_link_libraries(flutter_wrapper_app PUBLIC flutter) 76 | target_include_directories(flutter_wrapper_app PUBLIC 77 | "${WRAPPER_ROOT}/include" 78 | ) 79 | add_dependencies(flutter_wrapper_app flutter_assemble) 80 | 81 | # === Flutter tool backend === 82 | # _phony_ is a non-existent file to force this command to run every time, 83 | # since currently there's no way to get a full input/output list from the 84 | # flutter tool. 85 | set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") 86 | set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) 87 | add_custom_command( 88 | OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} 89 | ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} 90 | ${CPP_WRAPPER_SOURCES_APP} 91 | ${PHONY_OUTPUT} 92 | COMMAND ${CMAKE_COMMAND} -E env 93 | ${FLUTTER_TOOL_ENVIRONMENT} 94 | "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" 95 | windows-x64 $ 96 | VERBATIM 97 | ) 98 | add_custom_target(flutter_assemble DEPENDS 99 | "${FLUTTER_LIBRARY}" 100 | ${FLUTTER_LIBRARY_HEADERS} 101 | ${CPP_WRAPPER_SOURCES_CORE} 102 | ${CPP_WRAPPER_SOURCES_PLUGIN} 103 | ${CPP_WRAPPER_SOURCES_APP} 104 | ) 105 | --------------------------------------------------------------------------------