GenericPhoneFramePainter constructor

const GenericPhoneFramePainter({
  1. Color outerBodyColor = defaultOuterBodyColor,
  2. Color innerBodyColor = defaultInnerBodyColor,
  3. Radius outerBodyRadius = defaultOuterBodyRadius,
  4. Radius innerBodyRadius = defaultInnerBodyRadius,
  5. EdgeInsets innerBodyInsets = defaultInnerBodyInsets,
  6. EdgeInsets screenInsets = defaultScreenInsets,
  7. double buttonWidth = defaultButtonWidth,
  8. Color buttonColor = defaultButtonColor,
  9. Radius screenRadius = defaultScreenRadius,
  10. List<double> rightSideButtonsGapsAndSizes = defaultRightSideButtonsGapsAndSizes,
  11. List<double> topSideButtonsGapsAndSizes = defaultTopSideButtonsGapsAndSizes,
  12. Color cameraBorderColor = defaultCameraBorderColor,
  13. Color cameraInnerColor = defaultCameraInnerColor,
  14. Color cameraReflectColor = defaultCameraReflectColor,
  15. double cameraRadius = defaultCameraRadius,
  16. double cameraBorderWidth = defaultCameraBorderWidth,
})

Implementation

const GenericPhoneFramePainter({
  this.outerBodyColor = defaultOuterBodyColor,
  this.innerBodyColor = defaultInnerBodyColor,
  this.outerBodyRadius = defaultOuterBodyRadius,
  this.innerBodyRadius = defaultInnerBodyRadius,
  this.innerBodyInsets = defaultInnerBodyInsets,
  this.screenInsets = defaultScreenInsets,
  this.buttonWidth = defaultButtonWidth,
  this.buttonColor = defaultButtonColor,
  this.screenRadius = defaultScreenRadius,
  this.rightSideButtonsGapsAndSizes = defaultRightSideButtonsGapsAndSizes,
  this.topSideButtonsGapsAndSizes = defaultTopSideButtonsGapsAndSizes,
  this.cameraBorderColor = defaultCameraBorderColor,
  this.cameraInnerColor = defaultCameraInnerColor,
  this.cameraReflectColor = defaultCameraReflectColor,
  this.cameraRadius = defaultCameraRadius,
  this.cameraBorderWidth = defaultCameraBorderWidth,
});