showLeaveMessage method Null safety

void showLeaveMessage(
  1. BuildContext context,
  2. String uuid,
  3. String type,
  4. String tip
)

Implementation

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