Last updated:
0 purchases
sa deeplink lego
sa_deeplink_lego #
deep link dto template under simple architecture framework.
Installation #
open terminal in the lego project root directory, enter the following command for install cli.
and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
copied to clipboard
in terminal, enter the following command for add lego to project.
lego add sa_deeplink_lego
copied to clipboard
Usage #
change all New in blueprint folder to your dto name.
change _new.dart to your dto file name.
copy all in lib/blueprint/deeplink to your app folder.
generate deeplink
String url = NewDeepLink.buildLink(
'https://deeplinktest.junestory.com',
New()
..docId = 'angel'
..s000 = 'sky');
print(url);
copied to clipboard
when you click the link on the phone, the app will open and
lib/app/frontend/listener/deeplink/[your dto name].dart ReceiveNewDeepLinkData function
will be called with the dto data.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.