Widget.placeholder constructor Null safety

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

Implementation

const factory Widget.placeholder({
  Key? key,
  @Default(Color(0xFF455A64)) Color color,
  @Default(2.0) double strokeWidth,
  @Default(400.0) double fallbackWidth,
  @Default(400.0) double fallbackHeight,
  Widget? child,
}) = Placeholder;