MColor.hex constructor

const MColor.hex(
  1. String? hex, {
  2. String? dark,
  3. double opacity = 1.0,
})

Implementation

const MColor.hex(this.hex, {this.dark, this.opacity = 1.0})
    : bind = null,
      system = null;