Skip to content

Instantly share code, notes, and snippets.

@becek2n
Created May 8, 2020 16:15
Show Gist options
  • Save becek2n/972ae12fb95c630f68fb84714bedfb7a to your computer and use it in GitHub Desktop.
Save becek2n/972ae12fb95c630f68fb84714bedfb7a to your computer and use it in GitHub Desktop.
class StepperState {
final int currentStep;
final double rate;
final double volume;
const StepperState({this.currentStep, this.rate, this.volume});
factory StepperState.initial() => StepperState(currentStep: 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment