dart_native 0.3.15 copy "dart_native: ^0.3.15" to clipboard
dart_native: ^0.3.15 copied to clipboard

outdated

Write native code using Dart. This package liberates you from native code and low performance channel.

example/lib/main.dart

import 'package:dart_native_example/main.dn.dart';
import 'package:flutter/material.dart';
import 'package:dart_native_example/android/android_new_main.dart';
import 'package:dart_native_example/ios/ios_main.dart';
import 'dart:io';
import 'package:dart_native_gen/dart_native_gen.dart';
import 'package:dart_native/dart_native.dart';

@nativeRoot
void main() {
  DartNative.init();
  runDartNativeExample();
  runApp(Platform.isAndroid ? AndroidNewApp() : IOSApp());
}
21
likes
0
pub points
69%
popularity

Publisher

unverified uploader

Write native code using Dart. This package liberates you from native code and low performance channel.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dart_native_gen, ffi, flutter

More

Packages that depend on dart_native