ChessPieceExtension extension
- on
Methods
-
getResource(
String materialVariety, {required String directory, required String extension}) → Future< Image> -
Available on ChessPiece, provided by the ChessPieceExtension extension
Providedirectory(e.g, 'assets' or 'assets/materials') if you want to use custom resources. Provideextension(e.g, png, jpg, jpeg) for the images you've inside the resource structured directory.