techgrains 1.4.8 techgrains: ^1.4.8 copied to clipboard
Developer friendly app library having various commonly used functionality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add techgrains
With Flutter:
$ flutter pub add techgrains
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
techgrains: ^1.4.8
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:techgrains/com/techgrains/common/tg_log.dart';
import 'package:techgrains/com/techgrains/common/tg_log_level.dart';
import 'package:techgrains/com/techgrains/listener/tg_session_listener.dart';
import 'package:techgrains/com/techgrains/listener/tg_shared_preferences_listener.dart';
import 'package:techgrains/com/techgrains/localization/tg_locale.dart';
import 'package:techgrains/com/techgrains/localization/tg_localization.dart';
import 'package:techgrains/com/techgrains/localization/tg_localizations_delegate.dart';
import 'package:techgrains/com/techgrains/model/tg_access_matrix_vo.dart';
import 'package:techgrains/com/techgrains/model/tg_flavor_vo.dart';
import 'package:techgrains/com/techgrains/service/client/tg_client_factory.dart';
import 'package:techgrains/com/techgrains/service/client/tg_http_client.dart';
import 'package:techgrains/com/techgrains/service/client/tg_mock_client.dart';
import 'package:techgrains/com/techgrains/service/error/tg_error.dart';
import 'package:techgrains/com/techgrains/service/mock/tg_mock_mapping_vo.dart';
import 'package:techgrains/com/techgrains/service/mock/tg_mock_service.dart';
import 'package:techgrains/com/techgrains/service/request/tg_delete_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_get_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_post_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_put_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_upload_file_request.dart';
import 'package:techgrains/com/techgrains/service/request/tg_upload_request.dart';
import 'package:techgrains/com/techgrains/service/response/tg_response.dart';
import 'package:techgrains/com/techgrains/service/tg_service.dart';
import 'package:techgrains/com/techgrains/singleton/tg_access_matrix.dart';
import 'package:techgrains/com/techgrains/singleton/tg_session.dart';
import 'package:techgrains/com/techgrains/singleton/tg_shared_preferences.dart';
import 'package:techgrains/com/techgrains/util/tg_date_util.dart';
import 'package:techgrains/com/techgrains/util/tg_file_util.dart';
import 'package:techgrains/com/techgrains/util/tg_flavor.dart';
import 'package:techgrains/com/techgrains/util/tg_net_util.dart';
import 'package:techgrains/com/techgrains/util/tg_platform_util.dart';
import 'package:techgrains/com/techgrains/util/tg_validate.dart';
import 'package:techgrains/com/techgrains/view/tg_text.dart';
import 'package:techgrains/com/techgrains/view/tg_view.dart';