Aus öffentlichen Paketdaten erstellte Orientierung.
Das Footer-Paket ist eine anpassbare Flutter-Lösung zur Erstellung konsistenter und reaktionsfähiger Fußzeilen für Android-, iOS-, Web-, macOS-, Windows- und Linux-Anwendungen. Es vereinfacht die Implementierung von Bottom-Navigation oder Inhaltsschnitten mit eingebauten Stilen, Animationen und Layoutflexibilität. Für Entwickler, die eine einheitliche Fußzeilen-Erfahrung ohne Boilerplate-Code suchen, unterstützt es dynamischen Inhalt und adaptive Designs. Das Paket lässt sich nahtlos in bestehende Flutter-Projekte über pub.dev integrieren.
Anwendungsfälle
Konsistente untere Navigationsleisten hinzufügen
Benutzerdefinierte App-Fußzeilen mit dynamischem Inhalt erstellen
Responsive Layouts auf mehreren Plattformen umsetzen
Interaktive untere Panels gestalten
Wiederverwendbare Footer-Komponenten erstellen
Verbesserung der UI-Konsistenz über Geräte hinweg
Hauptmerkmale
Plattformübergreifende Kompatibilität
Anpassbare Erscheinung und Verhalten
Eingebaute Animationen und Übergänge
Unterstützung für dynamischen Inhalt
Einfache Integration in Flutter-Projekte
Reaktive Gestaltung für alle Bildschirmgrößen
Geeignet für
Flutter-Entwickler, die Multiplattform-Apps erstellen
Teams, die eine konsistente Benutzeroberfläche über Geräte hinweg benötigen
Entwickler, die Boilerplate für Fußzeilen reduzieren möchten
UI/UX-Designer, die an Flutter-Projekten zusammenarbeiten
Projekte, die anpassbare untere Panels erfordern
Hinweise
Kann zusätzliche Stilisierung für komplexe Layouts erfordern
Beschränkte Dokumentation außerhalb der grundlegenden Verwendung
Möglicher Leistungseinbruch bei intensiven Animationen
Nicht für sehr große Datensätze im Fußbereichinhalt optimiert
Abhängig von der Flutter-Version-Kompatibilität
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
Flutter Footer Widget
The released package here on pubstore
A new Flutter package which helps developers in creating Customisable Footer for both Android and IOS Apps.
Show some :heart: and :star: the repo to support the project
Support my work and fuel the next open source project! 🙌
☕ Buy Me a Coffee: https://buymeacoffee.com/stackdev.io
The flutter footer uses a component called FooterView. The FooterView Component takes three arguments which are as follows:
children : this is a Scrollable List of Widgets
footer : Takes a Footer Component that takes a Customizable Widget e.g a Container Widget
flex : This takes an interger from 1-10. This flex the footer space of the screen with 2 being the default.
NB: The children and footer parameters are mandatory. See Example
FooterView(
children: <Widget>[
... //this is a Scrollable List of Widgets
],
footer : Footer( //this takes the Footer Component which has 4 arguments with one being mandatory ie the child
child: Container(), //This take a Cusstomisable Widget eg Container, Column e.t.c
... //See Description Below for the other arguments of the Footer Component
),
flex: 2//this take an interger that ranges from 1-10 with 2 being the default for the Footer Area
)
The Footer Component takes four arguments with one being Mandatory ie child Widget ,see Fig below.
Footer(
child: Container(), //The child Widget is mandatory takes any Customisable Widget for the footer
backgroundColor : Colors.grey.shade200 // defines the background Colors of the Footer with default Colors.grey.shade200
padding: EdgeInsets.all(5.0),// Takes EdgeInsetsGeometry with default being EdgeInsets.all(5.0)
alignment: Alignment.bottomCenter //this is of type Aligment with default being Alignment.bottomCenter
)
Imports
After installing the footer package remember the imports
MIT LicenseCopyright (c) 2020TafadzwaLameckNyamukapaPermissionis 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 Softwareis
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.
This project is a starting point for a Dart
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.