useStackApproach property
Whether wrapping the widget in a stack is the approach that is going to be used to render the box. If false, a transparent border is created around the child as a placeholder, and the real border is only displayed when focused is true.
Using the stack approach is recommended for widgets that have a defined size. You should not use it with widgets that require dragging.
Implementation
final bool useStackApproach;