ramp property

Implementation

static ComponentDefinition<Ramp3DComponent>
get ramp => _definition<Ramp3DComponent>(
  type: 'Ramp3DComponent',
  id: 'ramp_3d_7923bada',
  create: Ramp3DComponent.new,
  name: 'Ramp',
  description: 'A wedge rising towards +Z, to walk up.',
  icon: Icons.trending_up,
  size: [
    _size<Ramp3DComponent>('width', (c) => c.width, (c, v) => c.width = v),
    _size<Ramp3DComponent>('height', (c) => c.height, (c, v) => c.height = v),
    _size<Ramp3DComponent>('depth', (c) => c.depth, (c, v) => c.depth = v),
  ],
  rows: const [
    FieldRowHint('Size', {'width': 'W', 'height': 'H', 'depth': 'D'}),
  ],
);