defaultPinTheme static method

PinTheme defaultPinTheme(
  1. BuildContext context
)

Implementation

static PinTheme defaultPinTheme(BuildContext context) {
  final theme = Theme.of(context);
  return PinTheme(
    width: 54.0,
    height: 64.0,
    textStyle: theme.textTheme.headlineMedium,
    decoration: BoxDecoration(
      color: theme.colorScheme.surfaceContainer,
      border: Border.all(
        color: theme.colorScheme.onSurface,
        width: 1.5,
      ),
      borderRadius: BorderRadius.circular(10.0),
    ),
  );
}