v1.0.4piano
用于钢琴乐谱学习的实用工具和小部件。
41喜欢 108近 30 天下载30Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个用于处理钢琴键和乐谱的 Flutter 包
以下为英文项目原文快照,最新内容请访问 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 ↗