showLeaveMessage static method

void showLeaveMessage(
  1. BuildContext context,
  2. String wid,
  3. String aid,
  4. String type,
  5. String tip,
)

Implementation

static void showLeaveMessage(
    BuildContext context, String wid, String aid, String type, String tip) {
  Navigator.of(context).push(MaterialPageRoute(builder: (context) {
    return LeaveMsgProvider(
      wid: wid,
      aid: aid,
      type: type,
      tip: tip,
    );
  }));
}