selectTheme method
Implementation
@override
ShadSelectTheme selectTheme() {
return ShadSelectTheme(
minWidth: kDefaultSelectMinWidth,
maxHeight: kDefaultSelectMaxHeight,
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
decoration: ShadDecoration(
border: ShadBorder.all(
radius: radius,
color: colorScheme.input,
width: 1,
),
),
optionsPadding: const EdgeInsets.all(4),
showScrollToTopChevron: true,
showScrollToBottomChevron: true,
popoverReverseDuration: Duration.zero,
anchor: const ShadAnchorAuto(
offset: Offset(0, 4),
fallback: ShadAnchorAuto(
offset: Offset(0, -4),
followerAnchor: Alignment.topCenter,
targetAnchor: Alignment.topCenter,
),
),
searchPadding: const EdgeInsets.all(12),
);
}