resolveInputStyleStateProperty function
TextStyle?
resolveInputStyleStateProperty({
- required PaginatedSearchBarStyleStateProperty<
TextStyle> ? inputStyleState, - required TextStyle? inputStyle,
- required Set<
PaginatedSearchBarState> states,
Implementation
TextStyle? resolveInputStyleStateProperty({
required PaginatedSearchBarStyleStateProperty<TextStyle>? inputStyleState,
required TextStyle? inputStyle,
required Set<PaginatedSearchBarState> states,
}) {
if (inputStyleState != null) {
return inputStyleState.resolve(states);
}
if (inputStyle != null) {
return inputStyle;
}
return const TextStyle(fontSize: 20, color: Colors.grey);
}