tecfy_core_package 0.1.9

  • Readme
  • Changelog
  • Installing
  • 53

tecfy_core_package #

Tecfy Core For Mobile Client Projects

This package works with TecfyCore API only! #

Package Componenets: #

  • Login Pages
  • Entity List Page
  • Entity Edit Page
  • Dashboard Page
  • Reports Pages
  • Connection Service
  • Localization Service
  • Config Service
  • Database Service
  • Dynamic Links Service
  • Notification Service
  • Web socket service
  • Account Service
  • Controller for each model
  • Default Application class
  • Interfaces
  • Models
  • Push Notification form tecfy platform

[0.0.6] - 30/03/2020. #

  • initial release.

[0.1.6] - 12/04/2020. #

  • Update Packages.

[0.1.8] - 20/05/2020. #

  • Apply GUI Design
  • Update Packages.

[0.1.9] - 23/05/2020. #

  • Enhance GUI

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  tecfy_core_package: ^0.1.9

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:tecfy_core_package/controllers/account/login.controller.dart';
import 'package:tecfy_core_package/controllers/account/signup.controller.dart';
import 'package:tecfy_core_package/controllers/entity/entity_filter.controller.dart';
import 'package:tecfy_core_package/controllers/entity/entity_form.controller.dart';
import 'package:tecfy_core_package/controllers/entity/entity_list.controller.dart';
import 'package:tecfy_core_package/controllers/home/dashboard.controller.dart';
import 'package:tecfy_core_package/interfaces/entity_transaction.interface.dart';
import 'package:tecfy_core_package/interfaces/menu.interface.dart';
import 'package:tecfy_core_package/interfaces/theme.interface.dart';
import 'package:tecfy_core_package/main.dart';
import 'package:tecfy_core_package/models/entity/action.model.dart';
import 'package:tecfy_core_package/models/entity/entity.model.dart';
import 'package:tecfy_core_package/models/entity/entity_category.model.dart';
import 'package:tecfy_core_package/models/entity/entity_filter.model.dart';
import 'package:tecfy_core_package/models/entity/permission.model.dart';
import 'package:tecfy_core_package/models/entity/permission_action.model.dart';
import 'package:tecfy_core_package/models/entity/property.model.dart';
import 'package:tecfy_core_package/models/entity/property_bool.model.dart';
import 'package:tecfy_core_package/models/entity/property_color.model.dart';
import 'package:tecfy_core_package/models/entity/property_date.model.dart';
import 'package:tecfy_core_package/models/entity/property_date_time.model.dart';
import 'package:tecfy_core_package/models/entity/property_dropdown.model.dart';
import 'package:tecfy_core_package/models/entity/property_file.model.dart';
import 'package:tecfy_core_package/models/entity/property_many_to_many.model.dart';
import 'package:tecfy_core_package/models/entity/property_number.model.dart';
import 'package:tecfy_core_package/models/entity/property_one_to_many.model.dart';
import 'package:tecfy_core_package/models/entity/property_other_entity_many.model.dart';
import 'package:tecfy_core_package/models/entity/property_text.model.dart';
import 'package:tecfy_core_package/models/entity/property_types.enum.dart';
import 'package:tecfy_core_package/models/entity/value_types.enum.dart';
import 'package:tecfy_core_package/models/home/dashboard_base.model.dart';
import 'package:tecfy_core_package/models/message.model.dart';
import 'package:tecfy_core_package/models/notification.model.dart';
import 'package:tecfy_core_package/models/notification_app.model.dart';
import 'package:tecfy_core_package/models/package.model.dart';
import 'package:tecfy_core_package/models/package_type.model.dart';
import 'package:tecfy_core_package/models/project/connection.model.dart';
import 'package:tecfy_core_package/models/project/menu.model.dart';
import 'package:tecfy_core_package/models/user.model.dart';
import 'package:tecfy_core_package/services/account.service.dart';
import 'package:tecfy_core_package/services/app_localizations.dart';
import 'package:tecfy_core_package/services/app_localizations_delegate.dart';
import 'package:tecfy_core_package/services/config.service.dart';
import 'package:tecfy_core_package/services/connection.service.dart';
import 'package:tecfy_core_package/services/database.service.dart';
import 'package:tecfy_core_package/services/dynamic_links.dart';
import 'package:tecfy_core_package/services/entity.service.dart';
import 'package:tecfy_core_package/services/init.service.dart';
import 'package:tecfy_core_package/services/log.service.dart';
import 'package:tecfy_core_package/services/message.service.dart';
import 'package:tecfy_core_package/services/notifications.service.dart';
import 'package:tecfy_core_package/services/notification_app.service.dart';
import 'package:tecfy_core_package/services/resource.service.dart';
import 'package:tecfy_core_package/services/sound.service.dart';
import 'package:tecfy_core_package/services/timeout_message.dart';
import 'package:tecfy_core_package/services/user_notification.service.dart';
import 'package:tecfy_core_package/services/values.service.dart';
import 'package:tecfy_core_package/services/web_socket.service.dart';
import 'package:tecfy_core_package/tecfy_core_client_package.dart';
import 'package:tecfy_core_package/views/account/login.page.dart';
import 'package:tecfy_core_package/views/account/login_landing.page.dart';
import 'package:tecfy_core_package/views/base.page.dart';
import 'package:tecfy_core_package/views/components/app_bar.dart';
import 'package:tecfy_core_package/views/components/country_dropdown.dart';
import 'package:tecfy_core_package/views/components/dashboard/charts/bar2_chart.componenets.dart';
import 'package:tecfy_core_package/views/components/dashboard/charts/bar_chart.componenets.dart';
import 'package:tecfy_core_package/views/components/dashboard/charts/line_chart.componenets.dart';
import 'package:tecfy_core_package/views/components/dashboard/dashboard_chart.component.dart';
import 'package:tecfy_core_package/views/components/dashboard/dashboard_statistics.component.dart';
import 'package:tecfy_core_package/views/components/dots_indicator.dart';
import 'package:tecfy_core_package/views/components/entity/color_property.dart';
import 'package:tecfy_core_package/views/components/entity/date.property.dart';
import 'package:tecfy_core_package/views/components/entity/dropdown.property.dart';
import 'package:tecfy_core_package/views/components/entity/dropdown_advance.property.dart';
import 'package:tecfy_core_package/views/components/entity/entity_list_search.component.dart';
import 'package:tecfy_core_package/views/components/entity/entity_list_tile.components.dart';
import 'package:tecfy_core_package/views/components/entity/in_line_form.dart';
import 'package:tecfy_core_package/views/components/entity/list_form.property.dart';
import 'package:tecfy_core_package/views/components/entity/many_to_many.property.dart';
import 'package:tecfy_core_package/views/components/entity/many_to_many_with_data.dart';
import 'package:tecfy_core_package/views/components/entity/photo.property.dart';
import 'package:tecfy_core_package/views/components/entity/photo_view.property.dart';
import 'package:tecfy_core_package/views/components/entity/property.component.dart';
import 'package:tecfy_core_package/views/components/entity/string.property.dart';
import 'package:tecfy_core_package/views/components/general/template_text_form.component.dart';
import 'package:tecfy_core_package/views/components/home/app_bar_profile.dart';
import 'package:tecfy_core_package/views/components/home/bottom_navigation_bar.dart';
import 'package:tecfy_core_package/views/components/home/notification_button.dart';
import 'package:tecfy_core_package/views/components/home/notification_icon.dart';
import 'package:tecfy_core_package/views/components/home/notification_row.dart';
import 'package:tecfy_core_package/views/components/home/setting_icon.dart';
import 'package:tecfy_core_package/views/components/home/title_path.componenet.dart';
import 'package:tecfy_core_package/views/components/home/tool_bar.componenet.dart';
import 'package:tecfy_core_package/views/entity/entity_filter.page.dart';
import 'package:tecfy_core_package/views/entity/entity_form.pade.dart';
import 'package:tecfy_core_package/views/entity/entity_list.page.dart';
import 'package:tecfy_core_package/views/general/state.dart';
import 'package:tecfy_core_package/views/general/tecfy_poweredby.dart';
import 'package:tecfy_core_package/views/home/dasboard.page.dart';
import 'package:tecfy_core_package/views/home/drawer.dart';
import 'package:tecfy_core_package/views/home/drawer2.dart';
import 'package:tecfy_core_package/views/home/drawer3.dart';
import 'package:tecfy_core_package/views/home/home.page.dart';
import 'package:tecfy_core_package/views/home/home_template.dart';
import 'package:tecfy_core_package/views/home/notification_list.dart';
import 'package:tecfy_core_package/views/home/setting.dart';
import 'package:tecfy_core_package/views/message/chat.page.dart';
import 'package:tecfy_core_package/views/message/chat_contacts.page.dart';
import 'package:tecfy_core_package/views/report/report_detail.page.dart';
import 'package:tecfy_core_package/views/report/report_filter.page.dart';
import 'package:tecfy_core_package/views/report/report_list.page.dart';
import 'package:tecfy_core_package/views/splash.page.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
46
Health:
Code health derived from static analysis. [more]
68
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

We analyzed this package on May 23, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.1
  • pana: 0.13.8-dev
  • Flutter: 1.17.0

Health issues and suggestions

Fix lib/views/components/general/template_text_form.component.dart. (-25 points)

Analysis of lib/views/components/general/template_text_form.component.dart failed with 1 error:

line 40 col 7: The named parameter 'autofillHints' isn't defined.

Fix lib/tecfy_core_client_package.dart. (-2.96 points)

Analysis of lib/tecfy_core_client_package.dart reported 6 hints, including:

line 19 col 8: Unused import: 'package:web_socket_channel/status.dart'.

line 33 col 8: Unused import: 'package:fl_chart/src/chart/bar_chart/bar_chart_painter.dart'.

line 33 col 8: Don't import implementation files from another package.

line 34 col 8: Unused import: 'package:fl_chart/src/chart/base/base_chart/base_chart_painter.dart'.

line 34 col 8: Don't import implementation files from another package.

Fix lib/services/dynamic_links.dart. (-1.49 points)

Analysis of lib/services/dynamic_links.dart reported 3 hints:

line 10 col 17: This function has a return type of 'Future

line 14 col 25: This function has a return type of 'Future

line 24 col 25: This function has a return type of 'Future

Fix additional 99 files with analysis or formatting issues. (-5.49 points)

Additional issues in the following files:

  • lib/views/home/setting.dart (3 hints)
  • lib/services/values.service.dart (2 hints)
  • lib/services/app_localizations.dart (1 hint)
  • lib/views/components/entity/entity_list_search.component.dart (1 hint)
  • lib/views/components/entity/entity_list_tile.components.dart (1 hint)
  • lib/views/components/home/notification_row.dart (1 hint)
  • lib/views/home/drawer2.dart (1 hint)
  • lib/views/home/drawer3.dart (1 hint)
  • lib/controllers/account/login.controller.dart (Run flutter format to format lib/controllers/account/login.controller.dart.)
  • lib/controllers/account/signup.controller.dart (Run flutter format to format lib/controllers/account/signup.controller.dart.)
  • lib/controllers/entity/entity_filter.controller.dart (Run flutter format to format lib/controllers/entity/entity_filter.controller.dart.)
  • lib/controllers/entity/entity_form.controller.dart (Run flutter format to format lib/controllers/entity/entity_form.controller.dart.)
  • lib/controllers/entity/entity_list.controller.dart (Run flutter format to format lib/controllers/entity/entity_list.controller.dart.)
  • lib/controllers/home/dashboard.controller.dart (Run flutter format to format lib/controllers/home/dashboard.controller.dart.)
  • lib/interfaces/entity_transaction.interface.dart (Run flutter format to format lib/interfaces/entity_transaction.interface.dart.)
  • lib/interfaces/menu.interface.dart (Run flutter format to format lib/interfaces/menu.interface.dart.)
  • lib/interfaces/theme.interface.dart (Run flutter format to format lib/interfaces/theme.interface.dart.)
  • lib/main.dart (Run flutter format to format lib/main.dart.)
  • lib/models/entity/action.model.dart (Run flutter format to format lib/models/entity/action.model.dart.)
  • lib/models/entity/entity.model.dart (Run flutter format to format lib/models/entity/entity.model.dart.)
  • lib/models/entity/entity_category.model.dart (Run flutter format to format lib/models/entity/entity_category.model.dart.)
  • lib/models/entity/entity_filter.model.dart (Run flutter format to format lib/models/entity/entity_filter.model.dart.)
  • lib/models/entity/permission.model.dart (Run flutter format to format lib/models/entity/permission.model.dart.)
  • lib/models/entity/permission_action.model.dart (Run flutter format to format lib/models/entity/permission_action.model.dart.)
  • lib/models/entity/property.model.dart (Run flutter format to format lib/models/entity/property.model.dart.)
  • lib/models/entity/property_bool.model.dart (Run flutter format to format lib/models/entity/property_bool.model.dart.)
  • lib/models/entity/property_color.model.dart (Run flutter format to format lib/models/entity/property_color.model.dart.)
  • lib/models/entity/property_date.model.dart (Run flutter format to format lib/models/entity/property_date.model.dart.)
  • lib/models/entity/property_date_time.model.dart (Run flutter format to format lib/models/entity/property_date_time.model.dart.)
  • lib/models/entity/property_dropdown.model.dart (Run flutter format to format lib/models/entity/property_dropdown.model.dart.)
  • lib/models/entity/property_file.model.dart (Run flutter format to format lib/models/entity/property_file.model.dart.)
  • lib/models/entity/property_many_to_many.model.dart (Run flutter format to format lib/models/entity/property_many_to_many.model.dart.)
  • lib/models/entity/property_number.model.dart (Run flutter format to format lib/models/entity/property_number.model.dart.)
  • lib/models/entity/property_one_to_many.model.dart (Run flutter format to format lib/models/entity/property_one_to_many.model.dart.)
  • lib/models/entity/property_other_entity_many.model.dart (Run flutter format to format lib/models/entity/property_other_entity_many.model.dart.)
  • lib/models/entity/property_text.model.dart (Run flutter format to format lib/models/entity/property_text.model.dart.)
  • lib/models/entity/value_types.enum.dart (Run flutter format to format lib/models/entity/value_types.enum.dart.)
  • lib/models/home/dashboard_base.model.dart (Run flutter format to format lib/models/home/dashboard_base.model.dart.)
  • lib/models/notification.model.dart (Run flutter format to format lib/models/notification.model.dart.)
  • lib/models/notification_app.model.dart (Run flutter format to format lib/models/notification_app.model.dart.)
  • lib/models/package.model.dart (Run flutter format to format lib/models/package.model.dart.)
  • lib/models/package_type.model.dart (Run flutter format to format lib/models/package_type.model.dart.)
  • lib/models/project/connection.model.dart (Run flutter format to format lib/models/project/connection.model.dart.)
  • lib/models/project/menu.model.dart (Run flutter format to format lib/models/project/menu.model.dart.)
  • lib/models/user.model.dart (Run flutter format to format lib/models/user.model.dart.)
  • lib/services/account.service.dart (Run flutter format to format lib/services/account.service.dart.)
  • lib/services/app_localizations_delegate.dart (Run flutter format to format lib/services/app_localizations_delegate.dart.)
  • lib/services/config.service.dart (Run flutter format to format lib/services/config.service.dart.)
  • lib/services/connection.service.dart (Run flutter format to format lib/services/connection.service.dart.)
  • lib/services/database.service.dart (Run flutter format to format lib/services/database.service.dart.)
  • lib/services/entity.service.dart (Run flutter format to format lib/services/entity.service.dart.)
  • lib/services/init.service.dart (Run flutter format to format lib/services/init.service.dart.)
  • lib/services/log.service.dart (Run flutter format to format lib/services/log.service.dart.)
  • lib/services/message.service.dart (Run flutter format to format lib/services/message.service.dart.)
  • lib/services/notification_app.service.dart (Run flutter format to format lib/services/notification_app.service.dart.)
  • lib/services/resource.service.dart (Run flutter format to format lib/services/resource.service.dart.)
  • lib/services/sound.service.dart (Run flutter format to format lib/services/sound.service.dart.)
  • lib/services/timeout_message.dart (Run flutter format to format lib/services/timeout_message.dart.)
  • lib/services/user_notification.service.dart (Run flutter format to format lib/services/user_notification.service.dart.)
  • lib/views/account/login.page.dart (Run flutter format to format lib/views/account/login.page.dart.)
  • lib/views/account/login_landing.page.dart (Run flutter format to format lib/views/account/login_landing.page.dart.)
  • lib/views/components/app_bar.dart (Run flutter format to format lib/views/components/app_bar.dart.)
  • lib/views/components/country_dropdown.dart (Run flutter format to format lib/views/components/country_dropdown.dart.)
  • lib/views/components/dashboard/charts/bar2_chart.componenets.dart (Run flutter format to format lib/views/components/dashboard/charts/bar2_chart.componenets.dart.)
  • lib/views/components/dashboard/charts/bar_chart.componenets.dart (Run flutter format to format lib/views/components/dashboard/charts/bar_chart.componenets.dart.)
  • lib/views/components/dashboard/charts/line_chart.componenets.dart (Run flutter format to format lib/views/components/dashboard/charts/line_chart.componenets.dart.)
  • lib/views/components/dashboard/dashboard_statistics.component.dart (Run flutter format to format lib/views/components/dashboard/dashboard_statistics.component.dart.)
  • lib/views/components/entity/color_property.dart (Run flutter format to format lib/views/components/entity/color_property.dart.)
  • lib/views/components/entity/date.property.dart (Run flutter format to format lib/views/components/entity/date.property.dart.)
  • lib/views/components/entity/dropdown.property.dart (Run flutter format to format lib/views/components/entity/dropdown.property.dart.)
  • lib/views/components/entity/dropdown_advance.property.dart (Run flutter format to format lib/views/components/entity/dropdown_advance.property.dart.)
  • lib/views/components/entity/in_line_form.dart (Run flutter format to format lib/views/components/entity/in_line_form.dart.)
  • lib/views/components/entity/list_form.property.dart (Run flutter format to format lib/views/components/entity/list_form.property.dart.)
  • lib/views/components/entity/many_to_many.property.dart (Run flutter format to format lib/views/components/entity/many_to_many.property.dart.)
  • lib/views/components/entity/many_to_many_with_data.dart (Run flutter format to format lib/views/components/entity/many_to_many_with_data.dart.)
  • lib/views/components/entity/photo.property.dart (Run flutter format to format lib/views/components/entity/photo.property.dart.)
  • lib/views/components/entity/photo_view.property.dart (Run flutter format to format lib/views/components/entity/photo_view.property.dart.)
  • lib/views/components/entity/property.component.dart (Run flutter format to format lib/views/components/entity/property.component.dart.)
  • lib/views/components/entity/string.property.dart (Run flutter format to format lib/views/components/entity/string.property.dart.)
  • lib/views/components/home/app_bar_profile.dart (Run flutter format to format lib/views/components/home/app_bar_profile.dart.)
  • lib/views/components/home/bottom_navigation_bar.dart (Run flutter format to format lib/views/components/home/bottom_navigation_bar.dart.)
  • lib/views/components/home/notification_button.dart (Run flutter format to format lib/views/components/home/notification_button.dart.)
  • lib/views/components/home/notification_icon.dart (Run flutter format to format lib/views/components/home/notification_icon.dart.)
  • lib/views/components/home/setting_icon.dart (Run flutter format to format lib/views/components/home/setting_icon.dart.)
  • lib/views/components/home/title_path.componenet.dart (Run flutter format to format lib/views/components/home/title_path.componenet.dart.)
  • lib/views/entity/entity_filter.page.dart (Run flutter format to format lib/views/entity/entity_filter.page.dart.)
  • lib/views/entity/entity_form.pade.dart (Run flutter format to format lib/views/entity/entity_form.pade.dart.)
  • lib/views/entity/entity_list.page.dart (Run flutter format to format lib/views/entity/entity_list.page.dart.)
  • lib/views/general/state.dart (Run flutter format to format lib/views/general/state.dart.)
  • lib/views/general/tecfy_poweredby.dart (Run flutter format to format lib/views/general/tecfy_poweredby.dart.)
  • lib/views/home/drawer.dart (Run flutter format to format lib/views/home/drawer.dart.)
  • lib/views/home/home.page.dart (Run flutter format to format lib/views/home/home.page.dart.)
  • lib/views/home/home_template.dart (Run flutter format to format lib/views/home/home_template.dart.)
  • lib/views/home/notification_list.dart (Run flutter format to format lib/views/home/notification_list.dart.)
  • lib/views/message/chat_contacts.page.dart (Run flutter format to format lib/views/message/chat_contacts.page.dart.)
  • lib/views/report/report_detail.page.dart (Run flutter format to format lib/views/report/report_detail.page.dart.)
  • lib/views/report/report_filter.page.dart (Run flutter format to format lib/views/report/report_filter.page.dart.)
  • lib/views/report/report_list.page.dart (Run flutter format to format lib/views/report/report_list.page.dart.)
  • lib/views/splash.page.dart (Run flutter format to format lib/views/splash.page.dart.)

Maintenance issues and suggestions

No valid SDK. (-20 points)

The analysis could not detect a valid SDK that can use this package.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and tecfy_core_package.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
expressions ^0.1.5 0.1.5
fl_chart ^0.9.3 0.9.4
flutter 0.0.0
flutter_localizations 0.0.0
flutter_material_color_picker ^1.0.5 1.0.5
flutter_slidable ^0.5.4 0.5.4
flutter_staggered_animations ^0.1.2 0.1.2
intl ^0.16.0 0.16.1
localstorage ^3.0.1+4 3.0.2+5
math_expressions ^2.0.0 2.0.0
package_info ^0.4.0+17 0.4.0+18
path ^1.6.4 1.6.4 1.7.0
path_provider ^1.6.5 1.6.9
pull_to_refresh ^1.5.8 1.5.8
soundpool ^1.0.1 1.1.0
sqflite ^1.3.0 1.3.0+1
tecfy_basic_package ^0.1.6 0.1.6
uuid ^2.0.4 2.0.4
web_socket_channel ^1.1.0 1.1.0
Transitive dependencies
async 2.4.1
cached_network_image 2.2.0+1 2.3.0-beta
charcode 1.1.3
clock 1.0.1
collection 1.14.12
convert 2.1.1
crypto 2.1.5
equatable 1.1.1
file 5.1.0
flutter_cache_manager 1.2.2
flutter_plugin_android_lifecycle 1.0.8
flutter_web_plugins 0.0.0
http 0.12.1
http_parser 3.1.4
image_picker 0.6.6+4
image_picker_platform_interface 1.0.0
matcher 0.12.6
meta 1.1.8
path_drawing 0.4.1
path_parsing 0.1.4
path_provider_macos 0.0.4+3
path_provider_platform_interface 1.0.2
pedantic 1.9.0
petitparser 3.0.2
platform 2.2.1
plugin_platform_interface 1.0.2
quiver 2.1.3
rxdart 0.24.1
shared_preferences 0.5.7+3
shared_preferences_macos 0.0.1+9
shared_preferences_platform_interface 1.0.4
shared_preferences_web 0.1.2+7
sky_engine 0.0.99
soundpool_macos 0.2.2
soundpool_platform_interface 1.0.1
soundpool_web 1.0.3
source_span 1.7.0
sqflite_common 1.0.1
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
synchronized 2.2.0
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test