$defaultColor static method

$Value? $defaultColor(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Wrapper for the ButtonStyleButton.defaultColor method

Implementation

static $Value? $defaultColor(
  Runtime runtime,
  $Value? target,
  List<$Value?> args,
) {
  final value = ButtonStyleButton.defaultColor(
    args[0]!.$value,
    args[1]!.$value,
  );
  return value == null ? const $null() : $WidgetStateProperty.wrap(value);
}