Created
February 22, 2022 23:20
-
-
Save mono0926/801ae73fa93959d2fd34810a7f7268ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/foundation.dart'; | |
import 'package:freezed_annotation/freezed_annotation.dart'; | |
part 'count_state.freezed.dart'; | |
@freezed | |
class CountState with _$CountState { | |
const factory CountState({ | |
@Default(0) int count, | |
}) = _CountState; | |
const CountState._(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment