afya_moja_core 0.0.10 afya_moja_core: ^0.0.10 copied to clipboard
A shared library for `afyamoja` and `myafyahub` that is responsible for rendering and exposing shared components
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add afya_moja_core
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
afya_moja_core: ^0.0.10
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:afya_moja_core/buttons.dart';
import 'package:afya_moja_core/checkbox_component.dart';
import 'package:afya_moja_core/community_list_item.dart';
import 'package:afya_moja_core/custom_text_field.dart';
import 'package:afya_moja_core/domain/core/entities/icon_details.dart';
import 'package:afya_moja_core/domain/core/entities/icon_details.freezed.dart';
import 'package:afya_moja_core/domain/core/entities/icon_details.g.dart';
import 'package:afya_moja_core/domain/core/entities/notification_actions.dart';
import 'package:afya_moja_core/domain/core/entities/notification_actions.freezed.dart';
import 'package:afya_moja_core/domain/core/entities/notification_actions.g.dart';
import 'package:afya_moja_core/information_list_card.dart';
import 'package:afya_moja_core/inputs.dart';
import 'package:afya_moja_core/notification_list_item.dart';
import 'package:afya_moja_core/onboarding_scaffold.dart';