FxPinInputTheme.fromTheme constructor

FxPinInputTheme.fromTheme(
  1. ThemeData theme
)

Implementation

factory FxPinInputTheme.fromTheme(ThemeData theme) => FxPinInputTheme(
  borderColor: theme.colorScheme.outline,
  backgroundColor: theme.colorScheme.surface,
  textStyle: theme.textTheme.titleLarge,
  border: OutlineInputBorder(
    borderRadius: BorderRadius.circular(12),
    borderSide: BorderSide(color: theme.colorScheme.primary),
  )
);