SizedBox.expand constructor
SizedBox.expand({
- BloomNode? child,
Creates a box that fills its parent.
SizedBox.expand(child: StyledText('Fill'));
Implementation
SizedBox.expand({BloomNode? child})
: super('div',
children: child == null ? const [] : [child],
style: 'width: 100%; height: 100%');