backstreets_widgets 0.25.0 backstreets_widgets: ^0.25.0 copied to clipboard
A package of useful widgets which reduce code, and guarantee an accessible experience on multiple platforms.
Backstreets Widgets #
Description #
This library contains widgets I personally find useful in my own projects. I uploaded this library to prevent the number of times I had to copy and paste the files it contains.
Package Contents #
Widgets #
Widgets are widgets that should be used within a Scaffold
widget.
Cancel
: A widget that traps the escape key to do something useful. By default it callscontext.pop
.CenterText
: A widget that wraps aText
widget insideCenter
andFocus
widgets.DoubleListTile
: AListTile
which displays adouble
value. The value can be changed with shortcut keys.GetText
: A widget that gets text with a simpleOnChanged
callback.IntListTile
: Similar toDoubleListTile
, except deals with integers.KeyboardShortcuts
: A widget for displaying a list ofKeyboardShortcut
instances.WithKeyboardShortcuts
: A widget that shows aKeyboardShortcuts
list with the press of a key.PushWidgetListTile
: AListTile
which pushes a widget when tapped.SearchableListView
: A list view which is searchable, with aTextFormField
located at the top of the list. Shortcuts can be used to navigate the list.TextListTile
: AListTile
which displays some text. The text can be edited withGetText
when theListTile
is tapped.
Screens #
Screens are widgets with Scaffold
s at their root.
SelectEnum
aSelectItem
widget which works exclusively with enums.SelectItem
: aSearchableListView
which allows the selection of a single item.SimpleScaffold
: AScaffold
widget with a simplified syntax.TabbedScaffold
: AScaffold
widget which displays multiple tabs at the bottom, and optionally at the top.