backgroundColor property

Color backgroundColor

Gets the color applied to the background of RenderSignaturePad.

The default backgroundColor is Colors.transparent.

Implementation

Color get backgroundColor => _backgroundColor;
void backgroundColor=(Color value)

Sets the background color for RenderSignaturePad.

The default backgroundColor is Colors.transparent.

Implementation

set backgroundColor(Color value) {
  if (_backgroundColor == value) {
    return;
  }
  _backgroundColor = value;
  _paintBackgroundStyle.color = value;
  markNeedsPaint();
}