flocon_files 0.0.2
flocon_files: ^0.0.2 copied to clipboard
Files plugin for Flocon, browse, download and delete the files of your app from the Flocon desktop debugger.
import 'dart:io';
import 'package:flocon/flocon.dart';
import 'package:flocon_files/flocon_files.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
if (kDebugMode) {
// shows the usual folders of the app
await startFlocon((flocon) => flocon..install(const FloconFiles()));
floconRegisterFilesFolder('Exports', Directory('${Directory.systemTemp.path}/exports'));
}
}