resolve<T> method

MaterialStateProperty<T>? resolve<T>(
  1. T value
)

Implementation

MaterialStateProperty<T>? resolve<T>(T value) {
  return value == null ? null : MaterialStateProperty.all<T>(value);
}