Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Published my first flutter package
Randomiser
Randomiser

Posted on • Edited on

     

Published my first flutter package

Hello developers, Today I have published my first flutter packageflutter_insta topub.dev.

Using this plugin you can get details of the Instagram user.

How to Use ?

LINK :https://pub.dev/packages/flutter_insta

First add in dependency

dependencies:flutter_insta:^0.0.6
Enter fullscreen modeExit fullscreen mode

You can install packages from the command line:

$flutterpubget
Enter fullscreen modeExit fullscreen mode

Import it

import'package:flutter_insta/flutter_insta.dart';
Enter fullscreen modeExit fullscreen mode

Now you have to create object of FlutterInsta class

FlutterInstaflutterInsta=newFlutterInsta("coding_boy_");
Enter fullscreen modeExit fullscreen mode

and inside constructor pass the username.

Now you can get all details like this

print("Username :${flutterInsta.username}");print("Followers :${flutterInsta.followers}");print("Folowing :${flutterInsta.following}");print("Bio :${flutterInsta.bio}");print("Website :${flutterInsta.website}");print("Profile Image :${flutterInsta.imgurl}");
Enter fullscreen modeExit fullscreen mode

Thanks for reading :) , if you found it useful then please like the plugin and give your valuable feedback.

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
vlazdra profile image
Vladimir Zdravkovic
I see myself as a passionate developer interested in a multitude of languages and topics! Currently my focus is on Android\Kotlin full time with Flutter\Dart lurking from the shadows. #extrovert
  • Location
    Serbia
  • Work
    Senior Mobile Developer at Levi9 Technology Services
  • Joined

Great work on the plugin!

CollapseExpand
 
randomussrs profile image
Randomiser
  • Joined

Thank you, sir.

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

  • Joined

More fromRandomiser

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp