inputTheme method

  1. @override
ShadInputTheme inputTheme()
override

Implementation

@override
ShadInputTheme inputTheme() {
  return ShadInputTheme(
    style: effectiveTextTheme.muted,
    placeholderStyle: effectiveTextTheme.muted,
    inputPadding: EdgeInsets.zero,
    decoration: ShadDecoration(
      border: ShadBorder.all(
        width: 1,
        color: colorScheme.border,
        radius: radius,
      ),
    ),
    padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
    gap: 8,
  );
}