import 'package:equatable/equatable.dart';

abstract class TextState extends Equatable {
  @override
  List<Object> get props => [];
}

class TextInitial extends TextState {}

class TextUpdated extends TextState {
  final String text;
  final int charactersLeft;

  TextUpdated(this.text, this.charactersLeft);

  @override
  List<Object> get props => [text, charactersLeft];
}
