form_builder_file_picker 0.3.0
form_builder_file_picker: ^0.3.0

Flutter Android iOS

FilePicker Field for flutter_form_builder package. Used to select files as part of form input.

form_builder_file_picker #

File Picker Field for FlutterFormBuilder package

Setup #

Since this package makes use of file_picker package, for platform specific setup, follow the instructions here

Usage #

import 'package:flutter_form_builder/flutter_form_builder.dart';
import 'package:form_builder_file_picker/form_builder_file_picker.dart';

FormBuilderFilePicker(
    attribute: "images",
    decoration: InputDecoration(labelText: "Attachments"),
    maxFiles: 5,
    multiple: true,
    previewImages: true,
    onChanged: (val) => print(val),
    fileType: FileType.any,
    selector: Row(
      children: <Widget>[
        Icon(Icons.file_upload),
        Text('Upload'),
      ],
    ),
),
6
likes
80
pub points
75%
popularity

FilePicker Field for flutter_form_builder package. Used to select files as part of form input.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

danvickmiller@gmail.com

License

unknown (LICENSE)

Dependencies

file_picker, file_picker_platform_interface, flutter, flutter_form_builder, permission_handler

More

Packages that depend on form_builder_file_picker