Addonsly
A package of useful Dart and Flutter addons
Features
The package includes the following features:
- widgets
- class extensions (for
Object
,String
,List
etc.) - UI constants
Widgets
- Horizontal and vertical spacers (HSpacer and VSpacer) for UI content layout that extends
SizedBox
widget, -
RowWithColumns
widget that contains a given number of widgets separated by a spacer
Extensions
List<Widget>
extensions like joinWithSeparator()
method that allows to add spacers or other
widgets between widgets from a list.
String
extensions like:
-
nullify
getter which returnnull
if the string is empty -
capitalized
orfirstCapitalLetter
getters for some basic string operations.
Object
extensions like unwrappedString
getter that returns a String
representation of
an Object
or -
if it is null
or an empty String
Constants
Paddings
set of double
values useful for UI dimensions fine tuning.