dg_direct_link 2.0.0 copy "dg_direct_link: ^2.0.0" to clipboard
dg_direct_link: ^2.0.0 copied to clipboard

Min Thant Htet.

DGHub Studio #

Buy Me a Coffee #

Buy Me A Coffee

Pub

Support Sites #

  • VK
  • SolidFiles
  • MediaFire
  • FEmbed
  • GoogleDrive
  • Ok.ru
  • Dropbox
  • Vimeo
  • Facebook
  • Instagram
  • Youtube
  • IMDB
  • Xnxx

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';

Example Widget #

 DGDirectLinkWidget(
       url: 'Paste your link',
       
       loading: (){
        return //Use your loading widget,
       } 
       
       error: (){
        return //Use your error widget,
       } 
       
       complete: (links){
        return //User your complete widget,
       } 
    );

Example #

DGDirectLink.get('Paste your link').then((links){
  
    }).onError((error, stackTrace) {

    });

Created by Min Thant Htet

Power By Aung Si Min