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 aTextwidget insideCenterandFocuswidgets.DoubleListTile: AListTilewhich displays adoublevalue. The value can be changed with shortcut keys.GetText: A widget that gets text with a simpleOnChangedcallback.IntListTile: Similar toDoubleListTile, except deals with integers.KeyboardShortcuts: A widget for displaying a list ofKeyboardShortcutinstances.WithKeyboardShortcuts: A widget that shows aKeyboardShortcutslist with the press of a key.PushWidgetListTile: AListTilewhich pushes a widget when tapped.SearchableListView: A list view which is searchable, with aTextFormFieldlocated at the top of the list. Shortcuts can be used to navigate the list.TextListTile: AListTilewhich displays some text. The text can be edited withGetTextwhen theListTileis tapped.
Screens #
Screens are widgets with Scaffolds at their root.
SelectEnumaSelectItemwidget which works exclusively with enums.SelectItem: aSearchableListViewwhich allows the selection of a single item.SimpleScaffold: AScaffoldwidget with a simplified syntax.TabbedScaffold: AScaffoldwidget which displays multiple tabs at the bottom, and optionally at the top.