fix cubit state code generation
This commit is contained in:
parent
bb78e64851
commit
788d376a0c
@ -1,10 +1,10 @@
|
|||||||
part of 'feature_name_cubit.dart';
|
part of 'feature_name_cubit.dart';
|
||||||
|
|
||||||
/// {@template {feature_name_state}}
|
/// {@template feature_name_state}
|
||||||
/// FeatureNameState description
|
/// FeatureNameState description
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
abstract class FeatureNameState extends Equatable {
|
abstract class FeatureNameState extends Equatable {
|
||||||
/// {@macro {feature_name}}
|
/// {@macro feature_name_state}
|
||||||
const FeatureNameState();
|
const FeatureNameState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ abstract class FeatureNameState extends Equatable {
|
|||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
class FeatureNameInitial extends FeatureNameState {
|
class FeatureNameInitial extends FeatureNameState {
|
||||||
/// {@macro feature_name_initial}
|
/// {@macro feature_name_initial}
|
||||||
const FeatureNameInitial() : super();
|
const FeatureNameInitial();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object?> get props => [];
|
List<Object?> get props => [];
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
part of '{{#snakeCase}}{{feature_name}}{{/snakeCase}}_cubit.dart';
|
part of '{{#snakeCase}}{{feature_name}}{{/snakeCase}}_cubit.dart';
|
||||||
|
|
||||||
/// {@template {{{#snakeCase}}{{feature_name}}{{/snakeCase}}_state}}
|
/// {@template {{#snakeCase}}{{feature_name}}{{/snakeCase}}_state}
|
||||||
/// {{#pascalCase}}{{feature_name}}{{/pascalCase}}State description
|
/// {{#pascalCase}}{{feature_name}}{{/pascalCase}}State description
|
||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
abstract class {{#pascalCase}}{{feature_name}}{{/pascalCase}}State extends Equatable {
|
abstract class {{#pascalCase}}{{feature_name}}{{/pascalCase}}State extends Equatable {
|
||||||
/// {@macro {{{#snakeCase}}{{feature_name}}{{/snakeCase}}}}
|
/// {@macro {{#snakeCase}}{{feature_name}}{{/snakeCase}}_state}
|
||||||
const {{#pascalCase}}{{feature_name}}{{/pascalCase}}State();
|
const {{#pascalCase}}{{feature_name}}{{/pascalCase}}State();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ abstract class {{#pascalCase}}{{feature_name}}{{/pascalCase}}State extends Equat
|
|||||||
/// {@endtemplate}
|
/// {@endtemplate}
|
||||||
class {{#pascalCase}}{{feature_name}}{{/pascalCase}}Initial extends {{#pascalCase}}{{feature_name}}{{/pascalCase}}State {
|
class {{#pascalCase}}{{feature_name}}{{/pascalCase}}Initial extends {{#pascalCase}}{{feature_name}}{{/pascalCase}}State {
|
||||||
/// {@macro {{#snakeCase}}{{feature_name}}{{/snakeCase}}_initial}
|
/// {@macro {{#snakeCase}}{{feature_name}}{{/snakeCase}}_initial}
|
||||||
const {{#pascalCase}}{{feature_name}}{{/pascalCase}}Initial() : super();
|
const {{#pascalCase}}{{feature_name}}{{/pascalCase}}Initial();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object?> get props => [];
|
List<Object?> get props => [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user