reference 0.4.3+1 copy "reference: ^0.4.3+1" to clipboard
reference: ^0.4.3+1 copied to clipboard

Reduce plugin maintenance burden for plugins that have to maintain platform object instances in memory.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const _MyApp());
}

class _MyApp extends StatefulWidget {
  const _MyApp({Key? key}) : super(key: key);

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<_MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              debugPrint('HI!');
            },
            child: const Text('HI'),
          ),
        ),
      ),
    );
  }
}
2
likes
120
points
98
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Reduce plugin maintenance burden for plugins that have to maintain platform object instances in memory.

Repository (GitHub)
View/report issues

License

Unlicense, MIT (license)

Dependencies

ffi, flutter

More

Packages that depend on reference

Packages that implement reference