flutter_guitar_tabs 0.0.10 copy "flutter_guitar_tabs: ^0.0.10" to clipboard
flutter_guitar_tabs: ^0.0.10 copied to clipboard

A widget to display guitar/ukulele tabs. Renders open strings, muted strings, and bars.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_guitar_tabs/flutter_guitar_tabs.dart';

main() {
  runApp(const MaterialApp(
    home: HomePage(),
  ));
}

class HomePage extends StatelessWidget {
  const HomePage({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Row(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: [
          // Guitar
          Center(
            child: TabWidget(
              name: 'Dm',
              tabs: const ["x 0 0 2 3 1", "x 5 7 7 6 5", "10 12 12 10 10 10"],
              size: 5,
              color: Colors.black,
              showStartFretNumber: true,
            ),
          ),
          // Ukulele
          Center(
            child: TabWidget(
              name: 'Dm',
              tabs: const ["2 2 1 0"],
              size: 5,
              color: Colors.black,
              showStartFretNumber: true,
            ),
          ),
        ],
      ),
    );
  }
}
18
likes
150
points
30
downloads

Publisher

verified publisherjoranmulderij.com

Weekly Downloads

A widget to display guitar/ukulele tabs. Renders open strings, muted strings, and bars.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_guitar_tabs