blob: 66706cc2406ef2c26525a259f6bffe275b4a0f99 [file] [log] [blame]
// 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:pigeon/pigeon.dart';
dartOut: 'lib/src/messages.g.dart',
dartTestOut: 'test/test_api.g.dart',
objcHeaderOut: 'ios/Classes/messages.g.h',
objcSourceOut: 'ios/Classes/messages.g.m',
objcOptions: ObjcOptions(
prefix: 'FFS',
copyrightHeader: 'pigeons/copyright.txt',
class FileSelectorConfig {
{this.utis = const <String?>[], this.allowMultiSelection = false});
List<String?> utis;
bool allowMultiSelection;
@HostApi(dartHostTestHandler: 'TestFileSelectorApi')
abstract class FileSelectorApi {
List<String> openFile(FileSelectorConfig config);