MaterialStateProperty.all constructor Null safety

const MaterialStateProperty.all(
  1. Color? color
)

Implementation

const factory MaterialStateProperty.all(Color? color) =
    MaterialStatePropertyAll;