resolveState<States> static method

WidgetStateProperty<States> resolveState<States>(
  1. StatelessWidgetResolver builder,
  2. States state
)

Implementation

static WidgetStateProperty<States> resolveState<States>(
  StatelessWidgetResolver builder,
  States state,
) =>
    WidgetStateProperty(
      (BuildContext context) => StateProperty.resolveState<States, Widget>(
          () => builder(context), state),
    );