Aus öffentlichen Paketdaten erstellte Orientierung.
Das Paket bottom_bar_with_sheet vereinfacht die Erstellung einer unteren Navigationsleiste zusammen mit einem FloatingActionButton, der eine BottomSheet auf jeder Seite auslöst. Es vereinfacht die Navigation und den Zugriff auf zusätzlichen Inhalt konsistent und benutzerfreundlich über alle Plattformen hinweg. Ideal für Apps, die einen schnellen Zugriff auf Aktionen oder Menüs benötigen, ohne die aktuelle Seite verlassen zu müssen. Das Paket unterstützt alle wichtigen Plattformen, einschließlich Android, iOS, Web, macOS, Windows und Linux.
Anwendungsfälle
Schneller Zugriff auf Aktionen über BottomSheet
Konsistente Navigation über mehrere Seiten
Verbesserung der Benutzerinteraktion mit schwebender Aktion
Integration von Kontextmenüs in Apps
Reaktive, mobil-first-Schnittstellen erstellen
Hauptmerkmale
BottomNavigationBar-Integration
FloatingActionButton löst BottomSheet aus
Plattformübergreifende Unterstützung
Einfache API für die Einrichtung
Wiederverwendbare Komponentenstruktur
Geeignet für
Mobile-App-Entwickler
UI/UX-Designer, die Konsistenz suchen
Apps, die häufigen Zugriff auf Aktionen erfordern
Entwickler, die Flutter für Multiplattform-Apps verwenden
Projekte mit komplexen Navigationsanforderungen
Hinweise
Kann individuelle Gestaltung für einzigartige Designs erfordern
Nur auf BottomSheet-Funktionalität beschränkt
Abhängig vom Material-Design-System von Flutter
Nicht geeignet für Interaktionen außerhalb der unteren Seite
Möglicher Leistungseinbruch bei vielen verschachtelten Blättern
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
Bottom bar with Sheet
💥Non-standard way to use more space of screens in your application💥
😳Custom bottom Sheet under Bottom Navigation Bar😳
😩Sounds sucks? 😉 First of all look at screens!
If true the [BottomBarWithSheetItem]'s DO NOT automatically close the child sheet when pressed
disableMainActionButton
bool
disable MainActionButton if true , enable if false
sheetChild
Widget
that displayed on bottom of BottomBarWithSheet when isOpened == true
items
List BottomBarWithSheetItem
navigation buttons of BottomBarWithSheet
bottomBarTheme
BottomBarTheme
theme of BottomBarWithSheet
mainActionButtonTheme
MainActionButtonTheme
theme of Main Action Button
onSelectItem
Function
Callback Function works by clicking on one of items Return int index of selected button
duration
Duration
animation time of closing / opening BottomBarWithSheet
curve
Curve
the style of animation from the suggested ones of Curve
bottomBarMainAxisAlignment
MainAxisAlignment
The direction in which the widget content will line up
mainActionButtonBuilder
MainActionButton
Custom version of Main Action Button
Attributes of BottomBarTheme
Attribute
Type
Annotation
height
double
BottomBarWithSheet icons line height
heightOpened
double
BottomBarWithSheet height when isOpened == true
heightClosed
double
BottomBarWithSheet height when isOpened == false
decoration
BoxDecoration
decoration of BottomBarWithSheet
contentPadding
EdgeInsets
create padding between content of widget and sides
backgroundColor
Color
BottomBarWithSheet background color
selectedItemIconColor
Color
selected item icon color
itemIconColor
Color
unselected item icon color
selectedItemTextStyle
Color
selected item text style
itemTextStyle
Color
unselected item text style
selectedItemIconSize
double
size of item icon when item is pressed
mainButtonPosition
enum
filed that response for the position of MainActionButton position this field have 3 possible values: MainButtonPosition.left, MainButtonPosition.right , MainButtonPosition.Center
isVerticalItemLabel
bool
makes the labels of the items appear vertically or horizontally
Attributes of MainActionButtonTheme
Attribute
Type
Annotation
size
double
size of button
icon
Widget
icon that displayed in center of MainActionButton
color
Color
background color of widget circle
splash
Color
splash color of widget circle
margin
EdgeInsets
side paddings of Main Action Button
transform
Matrix4
This field can set transform location of Main Action Button
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.