nativeapi 0.1.0 copy "nativeapi: ^0.1.0" to clipboard
nativeapi: ^0.1.0 copied to clipboard

Flutter bindings for nativeapi - providing seamless, unified access to native system APIs.

nativeapi #

Flutter bindings for nativeapi - providing seamless, unified access to native system APIs.

🚧 Work in Progress: This package is currently under active development.

Getting Started #

Add nativeapi to your pubspec.yaml:

dependencies:
  nativeapi: ^0.1.0
copied to clipboard

Then run:

flutter pub get
copied to clipboard

Usage #

📖 Detailed documentation and examples are coming soon!

import 'package:nativeapi/nativeapi.dart';

// Example usage will be added here
copied to clipboard

Development #

Prerequisites #

  • Flutter (>=3.35.0)
  • Dart SDK (>=3.9.0)

Setup #

  1. Clone the repository:
git clone https://github.com/libnativeapi/nativeapi-flutter.git
cd nativeapi-flutter
copied to clipboard
  1. Initialize submodules:
git submodule update --init --recursive
copied to clipboard
  1. Install dependencies:
melos bootstrap
copied to clipboard
  1. Run the example app:
cd examples/display_example
flutter run
copied to clipboard

FFI Bindings #

This project uses ffigen to generate Dart FFI bindings from C headers. To regenerate the bindings:

cd packages/cnativeapi
dart run ffigen --config ffigen.yaml
copied to clipboard

The ffigen configuration is defined in packages/cnativeapi/ffigen.yaml. You typically need to regenerate bindings when:

License #

MIT

1
likes
150
points
222
downloads

Publisher

verified publisherleanflutter.dev

Weekly Downloads

2024.12.17 - 2025.11.11

Flutter bindings for nativeapi - providing seamless, unified access to native system APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cnativeapi, ffi, flutter, meta, path

More

Packages that depend on nativeapi