FrameWidget constructor

const FrameWidget({
  1. Key? key,
  2. required Widget child,
  3. double initialWidth = 500.0,
  4. double initialHeight = 333.0,
  5. double minWidth = 100.0,
  6. double minHeight = 100.0,
  7. double maxWidth = 2000.0,
  8. double maxHeight = 2000.0,
  9. Color backgroundColor = Colors.transparent,
  10. dynamic onSizeChanged(
    1. double,
    2. double
    )?,
})

Implementation

const FrameWidget({
  super.key,
  required this.child,
  this.initialWidth = 500.0,
  this.initialHeight = 333.0,
  this.minWidth = 100.0,
  this.minHeight = 100.0,
  this.maxWidth = 2000.0,
  this.maxHeight = 2000.0,
  this.backgroundColor = Colors.transparent,
  this.onSizeChanged,
});