shared_ui_components 0.1.27-nullsafety shared_ui_components: ^0.1.27-nullsafety copied to clipboard
A shared library for `BeWell-Consumer` and `BeWell-Professional` that is responsible for rendering and exposing dumb widgets and ui components
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shared_ui_components
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
shared_ui_components: ^0.1.27-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:shared_ui_components/badge.dart';
import 'package:shared_ui_components/buttons.dart';
import 'package:shared_ui_components/coming_soon_page.dart';
import 'package:shared_ui_components/communications_settings.dart';
import 'package:shared_ui_components/country_picker.dart';
import 'package:shared_ui_components/fancy_loading.dart';
import 'package:shared_ui_components/inputs.dart';
import 'package:shared_ui_components/platform_loader.dart';
import 'package:shared_ui_components/profile_avator.dart';
import 'package:shared_ui_components/profile_banner.dart';
import 'package:shared_ui_components/resend_phone_code.dart';
import 'package:shared_ui_components/small_appbar.dart';
import 'package:shared_ui_components/time_picker.dart';
import 'package:shared_ui_components/try_new_features_widget.dart';
import 'package:shared_ui_components/verify_phone_otp.dart';