variants property

RxMap<LiWETheme, Map<String, Color?>> variants
getter/setter pair

Implementation

var variants = {
  LiWETheme.info: {
    "backgroundColor": Colors.blue,
    "color": Colors.white,
    "borderColor": Colors.blue[900],
  },
  LiWETheme.warn: {
    "backgroundColor": Colors.yellow,
    "color": Colors.black,
    "borderColor": Colors.yellow[900],
  },
  LiWETheme.success: {
    "backgroundColor": Colors.green,
    "color": Colors.white,
    "borderColor": Colors.green[900],
  },
  LiWETheme.error: {
    "backgroundColor": Colors.red,
    "color": Colors.white,
    "borderColor": Colors.red[900],
  },
}.obs;