$resolveWith static method
Wrapper for the WidgetStateProperty.resolveWith method
Implementation
static $Value? $resolveWith(
Runtime runtime,
$Value? target,
List<$Value?> args,
) {
final value = WidgetStateProperty.resolveWith((Set<WidgetState> states) {
return (args[0]! as EvalCallable)(runtime, null, [$Set.wrap(states)])
?.$value;
});
return $WidgetStateProperty.wrap(value);
}