input_sheet 0.1.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 81

flutter-input-sheet #

Pub License: MIT

A pack of input types implemented as a sheet! 🚀

Overview #

flutter-input-sheet is a package that shows inputs on sheets.

It was created with the purpose of make simple and pleasant extensive forms. You can create custom components to present your data and edit them in sheets for each one.

It was developed by abstracting and implementing great packages in pub.dev to create a single and simple pack for forms.

Installation #

add this line to pubspec.yaml

input_sheet: <latest_version>

Dependencies #

Also, this package uses some other libraries that need to be imported in your project to work, this libraries is used in some input types that need constants informed at params.

camera: ^0.5.8+1
video_compress: ^2.0.0
flutter_cupertino_date_picker: ^1.0.12

IOS #

You will need to add permissions in your Info.plist to use camera and microphone once the package has an input for photos and videos

<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSMicrophoneUsageDescription</key>
<string>Can I use the mic please?</string>

Android #

You will need to add permissions in your AndroidManifest.xml to read and write external storage and manage the camera once the package has an input for photos and videos

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />

✨ Features #

  • [x] Text
  • [x] Longtext
  • [x] Masked
  • [x] Number
  • [x] Date
  • [x] Time
  • [x] DateTime
  • [x] Photo
  • [x] Video
  • [ ] Slider
  • [ ] Color
  • [ ] MultiOption
  • [ ] Qrcode
  • [ ] Map

⭐ Basic components #

Was created some basic components to show data information on screen before open the input sheet.

  • IpsCard

  • IpsLabel

  • IpsError

  • IpsIcon

  • IpsValue

  • IpsPhoto

  • IpsVideo

Examples #

Basic card component: #

This library implements a basic and optional card component to simplify its forms when presenting data.

//Your component to show data
IpsCard(
    label: IpsLabel("Name"),
    value: IpsValue(_name ?? "Touch to edit..."),
    icon: IpsIcon(FeatherIcons.user),
    error: IpsError(_errors['name']),
    onClick: () {
        //Your sheet implementation
    },
);

Basic media component: #

Also for media types, you may want to preview the media, so I created a simple component to show Photo and Video.

//Photo component preview file
IpsPhoto(
    file: _photo,
    onClick: (){
        //Your sheet implementation
    }
);

//Video component preview thumbnail
IpsVideo(
    thumbnail: _thumbnailVideo,
    onClick: (){
        //Your sheet implementation
    },
);

Opening a sheet: #

InputSheet(
    //InputSheet implements the scope information of sheet
    context,
    label: "Name",
    cancelText: "Cancel",
    doneText: "Confirm",
).text(
    //.text or any other option available type implemets the input type
    placeholder: "Type here...",
    value: _name,
    onDone: (dynamic value) => setState(() {
        _name = value;
    }),
);

Complete simple example: #

class _MyHomePageState extends State<MyHomePage> {
  String _name;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
        child: Padding(
          padding: EdgeInsets.all(25),
          child: IpsCard(
                label: IpsLabel("Name"),
                value: IpsValue(_name ?? "Touch to edit..."),
                icon: IpsIcon(FeatherIcons.user),
                error: IpsError(_errors['name']),
                onClick: () => InputSheet(
                  context,
                  label: "Name",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).text(
                  placeholder: "Type here...",
                  value: _name,
                  onDone: (dynamic value) => setState(() {
                    _name = value;
                  }),
                ),
            ),
        ),
      ),
    );
  }
}


The InputSheet factory #

It will be instanced for each input sheet type you want to invoke, on this Factory you can pass some scope parameters of your sheet.

InputSheet(context,
  label: "Your name",
  cancelText: "Cancel button",
  doneText: "Done button",
  keyboardAutofocus: true,
);
ParametersTypeDescription
labelStringThe message showing above input
cancelTextStringThe cancel button text
doneTextStringThe confirmation button text
keyboardAutofocusboolAuto-focus editable inputs after open sheet

The input types #

Text #

This input implements a simple text input.

InputSheet(context).text(
    textInputType: TextInputType.text,
    placeholder: "Type here...",
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
textInputTypeTextInputTypeThe default keyboard input type
placeholderStringAdd a placeholder to input
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when done ediding input text

Longtext #

This input implements a long text input that break lines and increase the sheet height according the value length.

InputSheet(context).longtext(
    placeholder: "Type here...",
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
placeholderStringAdd a placeholder to input
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when done ediding input text

Mask #

This input uses flutter_masked_text package to manage the mask patterns and switch from pattern to pattern according the value length, see the package to learn about this patterns.

InputSheet(context).mask(
    masks: ['(00) 0000-0000', '(00) 0 0000-0000'],
    textInputType: TextInputType.text,
    placeholder: "Type here...",
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
masksList<\String>The mask pattern that the input will use according the number of characters value
textInputTypeTextInputTypeThe default keyboard input type
placeholderStringAdd a placeholder to input
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when done ediding input text

Number #

This input uses flutter_masked_text package to manage symbols and separators, then you can configure it to implement number or currency inputs.

InputSheet(context).number(
    leftSymbol: "to pay:",
    rightSymbol: "U\$",
    decimalSeparator: ".",
    thousandSeparator: ",",
    precision: 2,
    placeholder: "Type here...",
    value: _value,
    onDone: (double value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
leftSymbolStringBlank default, is used only on input
rightSymbolStringBlank default, is used only on input
decimalSeparatorStringDefault " . " is used only on input
thousandSeparatorStringDefault " , " is used only on input
precisionintThe number of decimal places
placeholderStringAdd a placeholder to input
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when done ediding input text

Date #

This input uses flutter_cupertino_date_picker to manage state and formatters on Date picker.

InputSheet(context).date(
    minDateTime: DateTime.now().subtract(Duration(days: 365 * 100)),
    maxDateTime: DateTime.now(),
    locale: DateTimePickerLocale.en_us,
    format: "yyyy-MM-dd",
    pickerFormat: "yyyy|MMMM|dd",
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
minDateTimeDateTimeMin date available to select
maxDateTimeDateTimeMax date abailable to select
localeDateTimePickerLocalelocale is used to translate labels and must to be imported from flutter_cupertino_date_picker package
formatStringThe format of value inserted in 'value' param
pickerFormatStringAdd a placeholder to input
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when select date. It will return with same format of param 'format'

Time #

This input uses flutter_cupertino_date_picker to manage state and formatters on Time picker.

InputSheet(context).time(
    minDateTime: DateTime.now().subtract(Duration(hours: 5)),
    maxDateTime: DateTime.now().add(Duration(hours: 5)),
    locale: DateTimePickerLocale.en_us,
    format: "HH:mm",
    pickerFormat: "HH|mm",
    minuteDivider: 15,
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
minDateTimeDateTimeMin date available to select
maxDateTimeDateTimeMax date abailable to select
localeDateTimePickerLocalelocale is used to translate labels and must to be imported from flutter_cupertino_date_picker package
formatStringThe format of value inserted in 'value' param
pickerFormatStringAdd a placeholder to input
minuteDividerintTime between each minute option
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when select date. It will return with same format of param 'format'

Date and Time #

This input uses flutter_cupertino_date_picker to manage state and formatters on DateTime picker.

InputSheet(context).datetime(
    minDateTime: DateTime.now(),
    maxDateTime: DateTime.now().add(Duration(days: 7)),
    locale: DateTimePickerLocale.en_us,
    format: "yyyy-MM-dd HH:mm",
    pickerFormat: "yyyy/MM/dd|HH|mm",
    minuteDivider: 15,
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
minDateTimeDateTimeMin date available to select
maxDateTimeDateTimeMax date abailable to select
localeDateTimePickerLocalelocale is used to translate labels and must to be imported from flutter_cupertino_date_picker package
formatStringThe format of value inserted in 'value' param
pickerFormatStringAdd a placeholder to input
minuteDividerintTime between each minute option
valueStringAdd a default value to input
onDoneFunction(String)Callback function called when select date. It will return with same format of param 'format'

Options #

This input implements options to select


InputSheet(context).options(
    options: { '0':'Chocolate' ,'1':'Vanilla', '2':'Strawberry'},
    value: _value,
    onDone: (String value) => setState(() {
        _value = value;
    }),
);
ParametersTypeDescription
optionsMap<\String, \String>A map with value-key pair to be selected as an option
valueStringA default selected key of options
onDoneFunction(String)Callback function called when select an option. It will return the selected key option

Photo #

This input use camera to handle camera and need to be imported in your project to pass the parameter resolution and perform your camera quality.

The photo input already handler user permission to access camera.

InputSheet(context).photo(
    url: "url/to/preview/image",
    file: new File("path/to/your/photo"),
    height: 300,
    resolution: ResolutionPreset.high,
    labelInitializingCamera: "Unitializing camera...",
    labelNoCameraAvailable: "There is no camera available on this device",
    onDone: (File file, Uint8List thumbnail) => setState(() {
        _value = file;
        _thumb = thumbnail;
    }),
);
ParametersTypeDescription
urlStringThe uploaded url file to preview the input photo
fileFileThe local file who will be edited and used as local preview
heightdoubleThe height of sheet, by default it uses all screen height
resolutionResolutionPresetResolutionPreset is uset to manage camera quality and must to be imported from camera package
labelInitializingCameraStringA default message to show until camera initialize
labelNoCameraAvailableStringA default message to show when has no camera available
onDoneFunction(File, file, Uint8List thumbnail)Callback function called when photo is captured. It will return the file of image and an Uint8List as memory thumbnail

Video #

This input use camera to handle camera and need to be imported in your project to pass the parameter resolution and perform your camera quality.

The video input also use video_compress to convert video if neccessary and perform it to reproduce in any web codec environment.

The video input already handle user permission to access camera and mic.

InputSheet(context).video(
    url: "url/to/preview/video",
    file: new File("path/to/your/video"),
    height: 300,
    resolution: ResolutionPreset.high,
    labelInitializingCamera: "Unitializing camera...",
    labelNoCameraAvailable: "There is no camera available on this device",
    timeRecordLimit: 60,
    sufixRecordTimeout: "Sec remaining "
    compress: VideoQuality.DefaultQuality,
    labelCompressing: "Converting video...",
    onDone: (File file, Uint8List thumbnail) => setState(() {
        _value = file;
        _thumb = thumbnail;
    }),
);
ParametersTypeDescription
urlStringThe uploaded url file to preview the input video
fileFileThe local file who will be edited and used as local preview
heightdoubleThe height of sheet, by default it uses all screen height
resolutionResolutionPresetResolutionPreset is uset to manage camera quality and must to be imported from camera package
labelInitializingCameraStringA default message to show until camera initialize
labelNoCameraAvailableStringA default message to show when has no camera available
timeRecordLimitintThe time limit to record video
sufixRecordTimeoutStringThe label suffix to remaining record time
compressVideoQualityVideoQuality is optional. Is used to convert video after stop recording and must to be imported from video_compress package
labelCompressingStringIf compress is informed, this message will apper on screen to inform the video conversion.
onDoneFunction(File, file, Uint8List thumbnail)Callback function called when photo is captured. It will return the file of image and an Uint8List as memory thumbnail

🎉 Acknowledgment #

Thanks to all the projects that make this package possible. Especially those that facilitate the management of inputs:


License #

License: MIT

Copyright (c) 2020 André Ciornavei

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

[0.1.3] #

  • [x] Updated mobx dependency versions.

[0.1.2] #

  • [x] Fixed issue where longtext input needs TextInputType.multiline.
  • [x] Fixed IpsInputDate bug where it got error and do not update state.

[0.1.1] #

  • [x] Setted default autofocus keyboard to true.
  • [x] Fix issue where keyboard do not show in a child widget tree context.

[0.1.0] #

  • [x] Update dependencies to latest versions.
  • [x] Added color, highlightColor, splashColor and shape properties to IpsCard Widget.
  • [x] Fix Health issues and suggestions.
  • [x] Maintenance issues and suggestions.

[0.0.2] - Increase documentation #

  • Some fixes in README.md.

[0.0.1] - First release #

  • Provides access to most input types used on forms.

example/lib/main.dart

import 'dart:io';
import 'dart:typed_data';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import 'package:input_sheet/components/IpsCard.dart';
import 'package:input_sheet/components/IpsError.dart';
import 'package:input_sheet/components/IpsIcon.dart';
import 'package:input_sheet/components/IpsLabel.dart';
import 'package:input_sheet/components/IpsPhoto.dart';
import 'package:input_sheet/components/IpsVideo.dart';
import 'package:input_sheet/components/IpsValue.dart';
import 'package:input_sheet/input_sheet.dart';

import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:input_sheet/utils/colors.dart';

import 'utils/formatter.dart';



void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Input Sheet Demo',
      theme: ThemeData(
        primarySwatch: IpsColors.dark,
      ),
      home: MyHomePage(title: 'Input Sheet Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String _name;
  String _about;
  String _phone;
  double _currency;
  String _flavor;
  String _birth;
  String _dinner;
  String _appointment;
  File _photo;
  File _video;
  Uint8List _thumbnailVideo;

  Map<String, dynamic> _errors = new Map<String, dynamic>();

  Map<String, String> _flavors = {
    "0": "Chocolate",
    "1": "Vanilla",
    "2": "Strawberry",
  };

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
        child: Padding(
          padding: EdgeInsets.all(25),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Text(
                'Text example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Name"),
                value: IpsValue(_name ?? "Touch to edit..."),
                icon: IpsIcon(FeatherIcons.user),
                error: IpsError(_errors['_name']),
                onClick: () => InputSheet(
                  context,
                  label: "Name",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).text(
                  placeholder: "Type here...",
                  value: _name,
                  onDone: (dynamic value) => setState(() {
                    _name = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Long text example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Describe about you"),
                value: IpsValue(_about ?? "Touch to edit..."),
                icon: IpsIcon(FeatherIcons.fileText),
                error: IpsError(_errors['_about']),
                onClick: () => InputSheet(
                  context,
                  label: "About you",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).longtext(
                  placeholder: "Type here...",
                  value: _about,
                  onDone: (dynamic value) => setState(() {
                    _about = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Mask example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Phone"),
                value: IpsValue(_phone ?? "Touch to edit..."),
                icon: IpsIcon(FeatherIcons.phone),
                error: IpsError(_errors['_phone']),
                onClick: () => InputSheet(
                  context,
                  label: "Phone",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).mask(
                  textInputType: TextInputType.number,
                  placeholder: "Type here...",
                  masks: ["(00) 0000-0000", "(00) 0 0000-0000"],
                  value: _phone,
                  onDone: (dynamic value) => setState(() {
                    _phone = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Number example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Set your salary"),
                value: IpsValue(_currency == null
                    ? "Touch to edit..."
                    : Formatters.formatUS(_currency).symbolOnLeft),
                icon: IpsIcon(FeatherIcons.dollarSign),
                error: IpsError(_errors['_currency']),
                onClick: () => InputSheet(
                  context,
                  label: "Set your salary",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).number(
                  leftSymbol: "my salary is: ",
                  rightSymbol: " U\$",
                  decimalSeparator: ".",
                  thousandSeparator: ",",
                  precision: 2,
                  placeholder: "Type here...",
                  value: _currency ?? 0,
                  onDone: (double value) => setState(() {
                    _currency = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Options example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Your preferred flavor"),
                value: IpsValue(_flavors.containsKey(_flavor)
                    ? _flavors[_flavor]
                    : "Touch to select..."),
                icon: IpsIcon(FeatherIcons.menu),
                error: IpsError(_errors['_currency']),
                onClick: () => InputSheet(
                  context,
                  label: "Choose a flavor",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).options(
                  value: _flavor,
                  options: _flavors,
                  onDone: (String value) => setState(() {
                    _flavor = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Date example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Your birth date"),
                value: IpsValue(_birth ?? "Touch to select..."),
                icon: IpsIcon(FeatherIcons.calendar),
                error: IpsError(_errors['_birth']),
                onClick: () => InputSheet(
                  context,
                  label: "Select a date",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).date(
                  value: _birth,
                  minDateTime:
                      DateTime.now().subtract(Duration(days: 365 * 100)),
                  maxDateTime: DateTime.now(),
                  format: "yyyy/MM/dd",
                  pickerFormat: "yyyy|MMMM|dd",
                  onDone: (String value) => setState(() {
                    _birth = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Time example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Your dinner time"),
                value: IpsValue(_dinner ?? "Touch to select..."),
                icon: IpsIcon(FeatherIcons.clock),
                error: IpsError(_errors['_dinner']),
                onClick: () => InputSheet(
                  context,
                  label: "Select a time",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).time(
                  value: _dinner,
                  format: "HH:mm",
                  pickerFormat: "HH|mm",
                  minuteDivider: 10,
                  onDone: (String value) => setState(() {
                    _dinner = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Date and Time example:',
              ),
              SizedBox(height: 15),
              IpsCard(
                label: IpsLabel("Schedule an appointment"),
                value: IpsValue(_appointment ?? "Touch to select..."),
                icon: IpsIcon(FeatherIcons.calendar),
                error: IpsError(_errors['_appointment']),
                onClick: () => InputSheet(
                  context,
                  label: "Set your appointment",
                  cancelText: "Cancel",
                  doneText: "Confirm",
                ).datetime(
                  value: _appointment,
                  minDateTime: DateTime.now(),
                  maxDateTime: DateTime.now().add(Duration(days: 7)),
                  format: "yyyy/MM/dd HH:mm",
                  pickerFormat: "yyyy/MM/dd|HH|mm",
                  minuteDivider: 5,
                  onDone: (String value) => setState(() {
                    _appointment = value;
                  }),
                ),
              ),
              SizedBox(height: 25),
              Text(
                'Media example:',
              ),
              SizedBox(height: 15),
              Row(
                children: <Widget>[
                  Expanded(
                    child: IpsPhoto(
                      file: _photo,
                      onClick: () => InputSheet(
                        context,
                        cancelText: "Cancel",
                        doneText: "Confirm",
                      ).photo(
                        file: _photo,
                        onDone: (File file, Uint8List thumbnail) =>
                            setState(() {
                          _photo = file;
                        }),
                      ),
                    ),
                  ),
                  Expanded(
                    child: IpsVideo(
                      thumbnail: _thumbnailVideo,
                      onClick: () => InputSheet(
                        context,
                        cancelText: "Cancel",
                        doneText: "Confirm",
                      ).video(
                        file: _video,
                        onDone: (File file, Uint8List thumbnail) =>
                            setState(() {
                          _video = file;
                          _thumbnailVideo = thumbnail;
                        }),
                      ),
                    ),
                  ),
                ],
              )
            ],
          ),
        ),
      ),
    );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  input_sheet: ^0.1.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:input_sheet/input_sheet.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
67
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
81
Learn more about scoring.

We analyzed this package on Jul 9, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform android

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/inputs/IpsInputCamera.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_linux/path_provider_linux.dart that declares support for platforms: linux

Package does not support Flutter platform ios

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/inputs/IpsInputCamera.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_linux/path_provider_linux.dart that declares support for platforms: linux

Package does not support Flutter platform linux

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/sheet.dart that imports:
  • package:keyboard_utils/widgets.dart that declares support for platforms: android, ios

Package does not support Flutter platform macos

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/sheet.dart that imports:
  • package:keyboard_utils/widgets.dart that declares support for platforms: android, ios

Package does not support Flutter platform web

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/sheet.dart that imports:
  • package:keyboard_utils/widgets.dart that declares support for platforms: android, ios

Package does not support Flutter platform windows

Because:

  • package:input_sheet/input_sheet.dart that imports:
  • package:input_sheet/sheet.dart that imports:
  • package:keyboard_utils/widgets.dart that declares support for platforms: android, ios

Package not compatible with SDK dart

Because:

  • input_sheet that is a package requiring null.

Health suggestions

Fix lib/inputs/IpsInputDate/controller.g.dart. (-0.50 points)

Analysis of lib/inputs/IpsInputDate/controller.g.dart reported 1 hint:

line 44 col 14: Avoid using braces in interpolation when not needed.

Format lib/inputs/IpsInputDate/controller.dart.

Run flutter format to format lib/inputs/IpsInputDate/controller.dart.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (permission_handler).

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
after_layout ^1.0.7+2 1.0.7+2
cached_network_image ^2.2.0+1 2.2.0+1 2.3.0-rc
camera ^0.5.8+1 0.5.8+2
flutter 0.0.0
flutter_cupertino_date_picker ^1.0.24 1.0.26+2
flutter_feather_icons ^1.0.3 1.0.3
flutter_keyboard_size ^0.1.2+2 0.1.2+2
flutter_masked_text ^0.8.0 0.8.0
flutter_mobx ^1.1.0 1.1.0+1
intl ^0.16.1 0.16.1
keyboard_utils ^1.2.1 1.2.4
mobx ^1.2.1 1.2.1+1
path_provider ^1.6.8 1.6.11
permission_handler ^4.4.0+hotfix.2 4.4.0+hotfix.4 5.0.1+1
quiver ^2.0.5 2.1.3
uuid ^2.0.4 2.2.0
video_compress ^2.0.0 2.0.0
video_player ^0.10.11 0.10.11+2
Transitive dependencies
charcode 1.1.3
clock 1.0.1
collection 1.14.12 1.14.13
convert 2.1.1
crypto 2.1.5
file 5.2.1
flutter_cache_manager 1.4.1
flutter_web_plugins 0.0.0
http 0.12.1
http_parser 3.1.4
matcher 0.12.8
meta 1.1.8 1.2.1
nested 0.0.4
path 1.7.0
path_provider_linux 0.0.1+2
path_provider_macos 0.0.4+3
path_provider_platform_interface 1.0.2
pedantic 1.9.0 1.9.1
permission_handler_platform_interface 1.0.0 2.0.1
platform 2.2.1
plugin_platform_interface 1.0.2
process 3.0.13
provider 4.3.0
rxdart 0.24.1
sky_engine 0.0.99
source_span 1.7.0
sqflite 1.3.1
sqflite_common 1.0.2+1
stack_trace 1.9.5
string_scanner 1.0.5
synchronized 2.2.0+1
term_glyph 1.1.0
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
video_player_platform_interface 2.0.2
video_player_web 0.1.3+2
xdg_directories 0.1.0
Dev dependencies
build_runner ^1.10.0
flutter_test
mobx_codegen ^1.1.0