v1.0.4piano
피아노 악보 학습과 함께 작업하기 위한 유틸리티 및 위젯입니다.
41좋아요 10830일 다운로드30Pub 점수
AndroidiOSWebmacOSWindowsLinux
피아노 키와 악보를 다루는 데 사용할 수 있는 플러터 패키지
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter package that provides:
In "Learn The Notes", a simple sight reading trainer you can find on the iOS App Store here and macOS App Store here.
Here's an example app:
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:piano/piano.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return CupertinoApp(
title: 'Piano Demo',
home: Center(
child: InteractivePiano(
highlightedNotes: [
NotePosition(note: Note.C, octave: 3)
],
naturalColor: Colors.white,
accidentalColor: Colors.black,
keyWidth: 60,
noteRange: NoteRange.forClefs([
Clef.Treble,
]),
onNotePositionTapped: (position) {
// Use an audio library like flutter_midi to play the sound
},
),
));
}
}
의존성 목록 7 개
{"sdk":"flutter"}^2.4.1^2.0.0^1.15.0^2.4.82.4.6{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗