SafeLayout constructor

const SafeLayout({
  1. Key? key,
  2. required Widget child,
  3. int minWidth = 50,
  4. int minHeight = 12,
  5. Widget? fallback,
})

Creates a SafeLayout widget.

Implementation

const SafeLayout({
  super.key,
  required this.child,
  this.minWidth = 50,
  this.minHeight = 12,
  this.fallback,
});