Aus öffentlichen Paketdaten erstellte Orientierung.
InputSheet ist ein Flutter-Paket, das entwickelt wurde, um die Eingabeprozesse in Formularen zu verbessern, indem Eingaben in einer BottomSheet präsentiert werden, was die Benutzerfreundlichkeit bei Anwendungen mit umfangreichen Formularen erhöht. Es bietet eine saubere, intuitive Oberfläche, die sich an verschiedene Eingabetypen anpasst und eine reibungslose Benutzererfahrung auf mobilen Geräten gewährleistet. Der BottomSheet-Ansatz hält das Formular zugänglich, ohne den Hauptbildschirm zu überladen, wodurch er ideal für datenintensive Anwendungen wird. Er integriert sich nahtlos in bestehende Flutter-Projekte und unterstützt responsive Design-Prinzipien.
Anwendungsfälle
Eingabe von Langform-Daten
Mobile-first Formularoberflächen
Bildschirmverschmutzung reduzieren
Verbesserung der Eingabemöglichkeiten
Verbesserung der Benutzerengagement mit Formularen
Hauptmerkmale
Eingabeanordnung basierend auf BottomSheet
Unterstützung für mehrere Eingabetypen
Einfache Integration mit Flutter-Formularen
Reaktive und adaptive Gestaltung
Anpassbare Erscheinung und Verhalten
Geeignet für
Mobile-App-Entwickler
formularitätsstarke Anwendungen
UX-orientiertes UI-Design
Zugänglichkeitsbewusste Entwicklung
Apps, die vereinfachte Eingabeprozesse erfordern
Hinweise
Beschränkt auf mobile Plattformen
Benötigt manuelle Verwaltung des Formularzustands
Für komplexe Layouts kann zusätzliche Styling notwendig sein
Abhängig vom BottomSheet-Widget von Flutter
Nicht geeignet für Desktop- oder Web-Verwendung
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
flutter-input-sheet
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.
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
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;
}),
);
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.
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.