From bbe177a744bb18d75baae2cc65e32e91a9703a4d Mon Sep 17 00:00:00 2001 From: Harsh Bhikadia Date: Sun, 9 May 2021 11:45:35 +0530 Subject: [PATCH] feat: added result constant add `kActivityResultOk` and `kActivityResultCanceled` constant --- lib/receive_intent.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/receive_intent.dart b/lib/receive_intent.dart index 5887f75..de44d0c 100644 --- a/lib/receive_intent.dart +++ b/lib/receive_intent.dart @@ -3,6 +3,9 @@ import 'dart:convert'; import 'package:flutter/services.dart'; +const kActivityResultOk = -1; +const kActivityResultCanceled = 0; + class Intent { final bool isNull; final String? fromPackageName;