all<T> method Null safety

MaterialStateProperty<T> all<T>(
  1. T value
)

Convenience method for creating a MaterialStateProperty that resolves to a single value for all states.

Implementation

static MaterialStateProperty<T> all<T>(T value) => _MaterialStatePropertyAll<T>(value);