Skip to content

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

License

Notifications You must be signed in to change notification settings

ZERO-white/nativeapi-flutter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

121 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Then run:

flutter pub get

Usage

📖 Detailed documentation and examples are coming soon!

import 'package:nativeapi/nativeapi.dart';

// Example usage will be added here

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
  1. Initialize submodules:
git submodule update --init --recursive
  1. Install dependencies:
melos bootstrap
  1. Run the example app:
cd examples/display_example
flutter run

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

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

License

MIT

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 70.7%
  • C++ 10.5%
  • CMake 9.5%
  • Python 3.7%
  • C 2.0%
  • Objective-C++ 1.4%
  • Other 2.2%