user_profile 0.1.25-nullsafety user_profile: ^0.1.25-nullsafety copied to clipboard
A shared library that is responsible for the user profile displayed on both apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add user_profile
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
user_profile: ^0.1.25-nullsafety
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:user_profile/add_contact.dart';
import 'package:user_profile/constants.dart';
import 'package:user_profile/contact_item.dart';
import 'package:user_profile/contact_items_card.dart';
import 'package:user_profile/contact_type.dart';
import 'package:user_profile/contact_utils.dart';
import 'package:user_profile/contacts.dart';
import 'package:user_profile/helpers.dart';
import 'package:user_profile/mutations.dart';
import 'package:user_profile/set_to_primary.dart';
import 'package:user_profile/shared/widget_keys.dart';
import 'package:user_profile/term_and_conditions.dart';