relative_border_sized_widget library

Classes

BoxDecorationDataclass
An dataclass for BoxDecoration.
RelativeBorderSizedWidget
RelativeBorderSizedWidget only needs the child and a callback that specifies what to do when the constrains are changing. Example to how to use the widget:

Typedefs

BoxDecorationGetter = BoxDecorationDataclass Function(BoxConstraints constraints)
Callback the get the BoxDecorationDataclass based on the BoxConstraints of the LayoutBuilder.