dg_direct_link 0.0.3 dg_direct_link: ^0.0.3 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 #
import 'package:dg_direct_link/dg_direct_link.dart';
...
## Examples Widget
```dart
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return DGDirectLinkWidget(
loadingWidget: //Use your loading widget,
errorWidget: //Use your error widget,
child: //User your complete widget,
);
}
}
Examples #
DGDirectLink.start().then((links){
}).onError((error, stackTrace) {
});