dimenOf<T extends Dimen> method

T dimenOf<T extends Dimen>(
  1. String name, [
  2. Size? size
])

Implementation

T dimenOf<T extends Dimen>(String name, [Size? size]) {
  return DimenInitializer.of(name, size ?? scaffoldSize);
}