sheet_music 0.2.0 sheet_music: ^0.2.0 copied to clipboard
A Flutter Widget for Sheet Music (All Major Flat and Sharp Scales, Notes from 5 below and 5 above the bar, Treble and Bass Clef).
import 'package:flutter/material.dart';
import 'package:sheet_music/sheet_music.dart';
main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: SheetMusic(
scale: "C Major",
pitch: "C4",
trebleClef: true,
),
);
}
}