MaterialGap constructor Null safety

const MaterialGap(
  1. {required LocalKey key,
  2. double size}
)

Creates a Material gap with a given size.

Implementation

const MaterialGap({
  required LocalKey key,
  this.size = 16.0,
}) : assert(key != null),
     super(key);