IconDetails constructor

IconDetails(
  1. String asset, {
  2. bool invert = false,
  3. String? download,
})

Implementation

IconDetails(String asset, {this.invert = false, this.download})
  : data = null,
    asset = asset.replaceFirst('assets/icons/', '');