state_design_pattern_dart

The State Design Pattern is a behavioral design pattern that allows an object to change its behavior based on its internal state. This pattern can be used when an object’s behavior changes according to its state.