Drawable constructor

const Drawable(
  1. String name, {
  2. Key? key,
})

Creates a new instance of Drawable with the given name.

Implementation

const Drawable(super.name, {super.key});