MaterialStatesController constructor Null safety

MaterialStatesController(
  1. [Set<MaterialState>? value]
)

Creates a MaterialStatesController.

Implementation

MaterialStatesController([Set<MaterialState>? value]) : super(<MaterialState>{...?value});