Last updated:
0 purchases
filepicker macos
filepicker_macos #
filepicker_macos
Getting Started #
import 'package:flutter/material.dart';
import 'package:filepicker_macos/filepicker_macos.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Container(
alignment: Alignment.center,
child: Column(
mainAxisSize: MainAxisSize.min,
children: const [
TextButton(
onPressed: FilepickerMacos.pickFile,
child: Text("PickFiles"),
),
TextButton(
onPressed: FilepickerMacos.pickDir,
child: Text("PickDir"),
),
],
),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.