Skip to content

Instantly share code, notes, and snippets.

@zamahaka
Created November 27, 2019 13:53
Show Gist options
  • Save zamahaka/28f3cc923feae83916181d02ecbdbf83 to your computer and use it in GitHub Desktop.
Save zamahaka/28f3cc923feae83916181d02ecbdbf83 to your computer and use it in GitHub Desktop.
import 'package:speakee_flutter/base/speakee_presenter.dart';
import 'package:speakee_flutter/base/speakee_view.dart';
import 'package:speakee_flutter/lessons/sentence_building/widgets/word_card_model.dart';
abstract class BuildAWordView extends SpeakeeView {
void showChoices(List<Choice> choices);
void showInput(List<String> input);
void showShakeAnimation(Choice choice);
void addWordCard(int index);
}
abstract class BuildAWordPresenter extends SpeakeePresenter {
void checkWordCard(int index, WordCardModel wordCard);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment