f_link 0.2.5 f_link: ^0.2.5 copied to clipboard
A wrapper plugin for Ableton Link's C extension to be used with Flutter.
// Full example in repository:
// https://github.com/anzbert/f_link/tree/master/example/lib
import 'package:f_link_example/options.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(const ProviderScope(child: MyApp()));
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.dark(),
home: const Main(),
);
}
}
class Main extends StatelessWidget {
const Main({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("F_Link Example"),
),
body: const OptionsMenu(),
);
}
}