1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-22 13:57:29 +01:00
Jisho-Study-Tool/lib/bloc/kanji/kanji_event.dart
h7x4 76d2b090f3
JST 4 - Add kanji search suggestions (#3)
* Add division package

* Add base logic and widget

* Finish layout

* Fix kanji regex

* Add bloc logic
2020-07-21 23:29:02 +02:00

17 lines
376 B
Dart

abstract class KanjiEvent {
const KanjiEvent();
}
class GetKanjiSuggestions extends KanjiEvent {
final String searchString;
const GetKanjiSuggestions(this.searchString);
}
class GetKanji extends KanjiEvent {
final String kanjiSearchString;
const GetKanji(this.kanjiSearchString);
}
class ReturnToInitialState extends KanjiEvent {
const ReturnToInitialState();
}