dart_redux_overview 0.0.6 copy "dart_redux_overview: ^0.0.6" to clipboard
dart_redux_overview: ^0.0.6 copied to clipboard

Renders an overview of all actions and states annotated with freezed.

example/lib/example.dart

import 'package:freezed_annotation/freezed_annotation.dart';

part 'example.freezed.dart';

@freezed
abstract class Union with _$Union {
  /// An example default value.
  const factory Union(int value) = Data;

  /// An example loading state
  ///
  /// This indicates leads to loading or error.
  const factory Union.loading() = Loading;

  const factory Union.error({String message}) = ErrorDetails;
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Renders an overview of all actions and states annotated with freezed.

License

MIT (LICENSE)

Dependencies

analyzer, meta, path

More

Packages that depend on dart_redux_overview