import 'dart:async';

import 'package:equatable/equatable.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

part '{{#snakeCase}}{{feature_name}}{{/snakeCase}}_state.dart';

/// {@template {{#snakeCase}}{{feature_name}}{{/snakeCase}}_cubit}
/// {{#pascalCase}}{{feature_name}}{{/pascalCase}}Cubit description
/// {@endtemplate}
class {{#pascalCase}}{{feature_name}}{{/pascalCase}}Cubit extends Cubit<{{#pascalCase}}{{feature_name}}{{/pascalCase}}State> {
  /// {@macro {{#snakeCase}}{{feature_name}}{{/snakeCase}}_cubit}
  {{#pascalCase}}{{feature_name}}{{/pascalCase}}Cubit() : super(const {{#pascalCase}}{{feature_name}}{{/pascalCase}}Initial());

  /// A description for yourCustomFunction
  FutureOr<void> yourCustomFunction() async {
    // TODO(wyatt): Add custom UI logic
    const _ = 1 + 1;
    return;
  }
}
