dg_direct_link 0.0.4 dg_direct_link: ^0.0.4 copied to clipboard
Created by Min Thant Htet.
dg_direct_link #
Installation #
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
dg_direct_link: <latest_version>
Import package #
import 'package:dg_direct_link/dg_direct_link.dart';
Examples Widget #
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return DGDirectLinkWidget(
loading: (){
return //Use your loading widget,
}
error: (){
return //Use your error widget,
}
complete: (){
//User your complete widget,
}
);
}
}
Examples #
DGDirectLink.start().then((links){
}).onError((error, stackTrace) {
});