GenericPhoneFramePainter constructor
const
GenericPhoneFramePainter({
- Color outerBodyColor = defaultOuterBodyColor,
- Color innerBodyColor = defaultInnerBodyColor,
- Radius outerBodyRadius = defaultOuterBodyRadius,
- Radius innerBodyRadius = defaultInnerBodyRadius,
- EdgeInsets innerBodyInsets = defaultInnerBodyInsets,
- EdgeInsets screenInsets = defaultScreenInsets,
- double buttonWidth = defaultButtonWidth,
- Color buttonColor = defaultButtonColor,
- Radius screenRadius = defaultScreenRadius,
- List<
double> rightSideButtonsGapsAndSizes = defaultRightSideButtonsGapsAndSizes, - List<
double> topSideButtonsGapsAndSizes = defaultTopSideButtonsGapsAndSizes, - Color cameraBorderColor = defaultCameraBorderColor,
- Color cameraInnerColor = defaultCameraInnerColor,
- Color cameraReflectColor = defaultCameraReflectColor,
- double cameraRadius = defaultCameraRadius,
- 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,
});