MaterialStateUnderlineInputBorder.resolveWith constructor
- @Deprecated('Use WidgetStateInputBorder.resolveWith() instead. ' 'Renamed to match other WidgetStateProperty objects. ' 'This feature was deprecated after v3.26.0-0.1.pre.')
- MaterialPropertyResolver<
InputBorder> callback
Creates a MaterialStateUnderlineInputBorder from a MaterialPropertyResolver<InputBorder> callback function.
If used as a regular input border, the border resolved in the default state (the empty set of states) will be used.
The given callback parameter must return a non-null text style in the default state.
Implementation
@Deprecated(
'Use WidgetStateInputBorder.resolveWith() instead. '
'Renamed to match other WidgetStateProperty objects. '
'This feature was deprecated after v3.26.0-0.1.pre.',
)
const factory MaterialStateUnderlineInputBorder.resolveWith(
MaterialPropertyResolver<InputBorder> callback,
) = _MaterialStateUnderlineInputBorder;