file_selector 0.8.3 copy "file_selector: ^0.8.3" to clipboard
file_selector: ^0.8.3 copied to clipboard

outdated

Flutter plugin for opening and saving files, or selecting directories, using native file selection UI.

example/lib/main.dart

// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:example/get_directory_page.dart';
import 'package:example/home_page.dart';
import 'package:example/open_image_page.dart';
import 'package:example/open_multiple_images_page.dart';
import 'package:example/open_text_page.dart';
import 'package:example/save_text_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

/// MyApp is the Main Application
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'File Selector Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: HomePage(),
      routes: <String, WidgetBuilder>{
        '/open/image': (BuildContext context) => OpenImagePage(),
        '/open/images': (BuildContext context) => OpenMultipleImagesPage(),
        '/open/text': (BuildContext context) => OpenTextPage(),
        '/save/text': (BuildContext context) => SaveTextPage(),
        '/directory': (BuildContext context) => GetDirectoryPage(),
      },
    );
  }
}
367
likes
0
pub points
99%
popularity

Publisher

verified publisherflutter.dev

Flutter plugin for opening and saving files, or selecting directories, using native file selection UI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

file_selector_platform_interface, file_selector_web, file_selector_windows, flutter

More

Packages that depend on file_selector