• This project
    • Loading...
  • Sign in

OnePoem / OnePoem-App

Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OnePoem-App
  • lib
  • mvp
  • mvps.dart
  • reason's avatar
    init · 9f86f44b
    9f86f44b
    reason authored 2021-12-27 17:10:15 +0800
mvps.dart 319 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

import 'package:flutter/material.dart';

import 'i_lifecycle.dart';

abstract class IMvpView {

  BuildContext getContext();
  /// 显示Progress
  void showProgress();

  /// 关闭Progress
  void closeProgress();

  /// 展示Toast
  void showToast(String string);
}

abstract class IPresenter extends ILifecycle {}