flutter_linkedin 1.0.2 flutter_linkedin: ^1.0.2 copied to clipboard
Flutter Package to login and get Profile Details from linkedin
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_linkedin
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_linkedin: ^1.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_linkedin/config/api_routes.dart';
import 'package:flutter_linkedin/data_model/auth_error_response.dart';
import 'package:flutter_linkedin/data_model/auth_success_response.dart';
import 'package:flutter_linkedin/data_model/email_response.dart';
import 'package:flutter_linkedin/data_model/profile_error.dart';
import 'package:flutter_linkedin/data_model/profile_response.dart';
import 'package:flutter_linkedin/helpers/access_token_helper.dart';
import 'package:flutter_linkedin/helpers/authorization_helper.dart';
import 'package:flutter_linkedin/helpers/email_helper.dart';
import 'package:flutter_linkedin/helpers/profile_helper.dart';
import 'package:flutter_linkedin/linkedloginflutter.dart';
import 'package:flutter_linkedin/widgets/linked_in_web_view.dart';