addMaterialState method
- MaterialState state
Mutator to mark a MaterialState value as active.
Implementation
@protected
void addMaterialState(MaterialState state) {
if (materialStates.add(state)) {
setState((){});
}
}
Mutator to mark a MaterialState value as active.
@protected
void addMaterialState(MaterialState state) {
if (materialStates.add(state)) {
setState((){});
}
}