nim_teamkit_ui 1.0.0 nim_teamkit_ui: ^1.0.0 copied to clipboard
Team UI base on TeamKit.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nim_teamkit_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
nim_teamkit_ui: ^1.0.0
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:nim_teamkit_ui/generated/intl/messages_all.dart';
import 'package:nim_teamkit_ui/generated/intl/messages_en.dart';
import 'package:nim_teamkit_ui/generated/intl/messages_zh.dart';
import 'package:nim_teamkit_ui/generated/intl_multi_fix.dart';
import 'package:nim_teamkit_ui/generated/l10n.dart';
import 'package:nim_teamkit_ui/team_kit_client.dart';
import 'package:nim_teamkit_ui/teamkit_ui.dart';
import 'package:nim_teamkit_ui/view/pages/team_kit_avatar_editor_page.dart';
import 'package:nim_teamkit_ui/view/pages/team_kit_member_list_page.dart';
import 'package:nim_teamkit_ui/view/pages/team_kit_setting_page.dart';
import 'package:nim_teamkit_ui/view/pages/team_kit_team_info_page.dart';
import 'package:nim_teamkit_ui/view_model/team_setting_view_model.dart';