Skip to main content

file_saver_ffi 0.12.0 copy "file_saver_ffi: ^0.12.0" to clipboard
file_saver_ffi: ^0.12.0 copied to clipboard

Save bytes, files and downloads to the gallery, device storage or a user-picked folder, with progress, cancellation and conflict handling. Native FFI and JNI on mobile.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

import 'screens/home_screen.dart';

void main() {
  debugProfileBuildsEnabled = true;
  debugProfileBuildsEnabledUserWidgets = true;
  debugProfileLayoutsEnabled = true;
  debugProfilePaintsEnabled = true;
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'File Saver FFI Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const HomeScreen(),
    );
  }
}
14
likes
160
points
3.17k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherv4g.space

Weekly Downloads

Save bytes, files and downloads to the gallery, device storage or a user-picked folder, with progress, cancellation and conflict handling. Native FFI and JNI on mobile.

Repository (GitHub)
View/report issues

Topics

#file-saver #gallery-saver #saver #ffi #jni

License

MIT (license)

Dependencies

dir_picker, ffi, flutter, flutter_web_plugins, jni, path, path_provider_windows, web

More

Packages that depend on file_saver_ffi

Packages that implement file_saver_ffi