getInputDecoration static method

InputDecoration getInputDecoration(
  1. LocationPickerTheme theme,
  2. String hint
)

Implementation

static InputDecoration getInputDecoration(LocationPickerTheme theme, String hint) {
  return theme.inputDecoration ??
      InputDecoration(
        hintText: hint,
        hintStyle: theme.hintStyle,
        border: const OutlineInputBorder(),
        contentPadding: theme.padding ?? const EdgeInsets.symmetric(horizontal: 12, vertical: 16),
      );
}