PlaceholderModifier constructor

const PlaceholderModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. Color color = const Color(0xFF455A64),
  5. double strokeWidth = 2.0,
  6. double fallbackWidth = 400.0,
  7. double fallbackHeight = 400.0,
})

Creates a widget which draws a box.

Implementation

const PlaceholderModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.color = const Color(0xFF455A64),
  this.strokeWidth = 2.0,
  this.fallbackWidth = 400.0,
  this.fallbackHeight = 400.0,
});