OverflowBox

This widget motivated by OverflowBox in Flutter.

A widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent.

See: https://api.flutter.dev/flutter/widgets/OverflowBox-class.html

Props

maxWidth

Value: number | undefined

maxHeight

Value: number | undefined

minWidth

Value: number | undefined

minHeight

Value: number | undefined

alignment

Value: Alignment (default: Alignment.center)

child

Value: Widget | undefined

Examples

Basic