ramp property

Implementation

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