assorted_layout_widgets 1.0.0 assorted_layout_widgets: ^1.0.0 copied to clipboard
Assorted layout widgets that boldly go where no native Flutter widgets have gone before.
assorted_layout_widgets #
Assorted layout widgets that boldly go where no native Flutter widgets have gone before.
Note: I will slowly but surely add interesting widgets to this package. So far it has a single widget.
Widgets in this package:
ColumnSuper
ColumnSuper #
Given a list of children widgets, this will arrange them in a column. It can overlap cells, add separators and more.
ColumnSuper({
List<Widget> children,
double outerDistance,
double innerDistance,
bool invert,
Alignment alignment,
Widget separator,
bool separatorOnTop,
});
-
outerDistance
is the distance in pixels before the first and after the last widget. It can be negative, in which case the cells will overflow the column. -
innerDistance
is the distance in pixels between the cells. It can be negative, in which case the cells will overlap. -
invert
if true will paint the cells that come later on top of the ones that came before. This is specially useful when cells overlap (negativeinnerDistance
). -
alignment
will align the cells horizontally if they are smaller than the available horizontal space. -
separator
is a widget which will be put between each cells. Its height doesn't matter, since the distance between cells is given byinnerDistance
. -
separatorOnTop
iftrue
(the default) will paint the separator on top of the cells. Iffalse
will paint the separator below the cells.
Try running the: Example.
AlignPositioned #
See package align_positioned
for widgets AlignPositioned
and its siblings AnimatedAlignPositioned
and AnimChain
.
They should be part of this package, but will remain in their own package for historical reasons.
The Flutter packages I've authored:
- async_redux
- provider_for_redux
- i18n_extension
- align_positioned
- network_to_file_image
- matrix4_transform
- back_button_interceptor
- indexed_list_view
- animated_size_and_fade
- assorted_layout_widgets
Marcelo Glasberg:
https://github.com/marcglasberg
https://twitter.com/glasbergmarcelo
https://stackoverflow.com/users/3411681/marcg
https://medium.com/@marcglasberg