defaultPinTheme property

PinTheme get defaultPinTheme

Implementation

PinTheme get defaultPinTheme => PinTheme(
  width: screenWidth * .12,
  height: pinTheme.height,
  margin: EdgeInsets.zero,
  padding: pinTheme.padding ?? EdgeInsets.symmetric(horizontal: sizes.md, vertical: sizes.lg),
  textStyle: pinTheme.textStyle,
  constraints: BoxConstraints(
    maxWidth: pinTheme.width ?? sizes.inputHeight,
    maxHeight: pinTheme.height ?? sizes.inputHeight,
  ),
  decoration: BoxDecoration(
    color: pinTheme.backgroundColor,
    borderRadius: pinTheme.borderRadiusFromInput,
    border: pinTheme.primaryBorder,
  ),
);