PIThemeData constructor

PIThemeData({
  1. MaterialColor primarySwatch = PIColors.blue,
  2. MaterialColor secondarySwatch = PIColors.gold,
})

Implementation

PIThemeData({
  this.primarySwatch = PIColors.blue,
  this.secondarySwatch = PIColors.gold,
}) {
  this.cPIColorSense = {
    PIColorSense.primary: primarySwatch,
    PIColorSense.info: PIColors.blue,
    PIColorSense.error: PIColors.red,
    PIColorSense.success: PIColors.green,
    PIColorSense.warning: PIColors.yello,
  };

  this.buttonStyle = PIButtonStyle();
}