Skip to content
pubscout

flutter_piano_pro

0.6.0, released 3 years ago by melihhakanpektas.com

A customizable piano keyboard widget for Flutter apps.

WASM-ready
$ flutter pub add flutter_piano_pro
Source repository

What it does

Provides a piano keyboard UI that can be configured in size, note range, and appearance. Emits callbacks for note press, move, and release events.

AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an on‑screen piano keyboard in a Flutter app.
  • You want configurable note layout and callbacks without handling low‑level drawing yourself.

Skip it when

  • You require built‑in audio playback for notes.
  • You need advanced music theory features or MIDI sequencing.

Strengths

  • Easy to drop into any Flutter project
  • Highly configurable (size, notes, labels, callbacks)
  • Works on all Flutter platforms

Weaknesses

  • No built‑in sound generation
  • Limited to UI; no music theory utilities

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:flutter/material.dart';
import 'package:flutter_piano_pro/flutter_piano_pro.dart';

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Flutter Piano Pro Demo')),
      body: Center(child: PianoPro()),
    );
  }
}

Alternatives

Packages that do the same job and could replace flutter_piano_pro.