triade 1.4.0 triade: ^1.4.0 copied to clipboard
Common useful and Widget Use For Triade Products (Flutter E-Commerce App)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add triade
With Flutter:
$ flutter pub add triade
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
triade: ^1.4.0
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:triade/example/main.dart';
import 'package:triade/extensions.dart';
import 'package:triade/extensions/build_context_ext.dart';
import 'package:triade/extensions/datetime_extension.dart';
import 'package:triade/extensions/screen_extensions.dart';
import 'package:triade/extensions/string_extension.dart';
import 'package:triade/extensions/text_editing_controller_ext.dart';
import 'package:triade/icons/constants.dart';
import 'package:triade/icons/cupertino.dart';
import 'package:triade/icons/icon_picker.dart';
import 'package:triade/icons/material.dart';
import 'package:triade/inspireui.dart';
import 'package:triade/utils.dart';
import 'package:triade/utils/colors.dart';
import 'package:triade/utils/date_time_utils.dart';
import 'package:triade/utils/encode.dart';
import 'package:triade/utils/event_bus.dart';
import 'package:triade/utils/http_client.dart';
import 'package:triade/utils/logs.dart';
import 'package:triade/utils/regex_utils.dart';
import 'package:triade/utils/screen_utils.dart';
import 'package:triade/utils/secure_storage.dart';
import 'package:triade/utils/video.dart';
import 'package:triade/widgets/app_icon.dart';
import 'package:triade/widgets/appbar_widget/appbar_widget.dart';
import 'package:triade/widgets/auto_hide_keyboard.dart';
import 'package:triade/widgets/button_show_content_dialog/button_show_content_dialog_constants.dart';
import 'package:triade/widgets/button_show_content_dialog_widget.dart';
import 'package:triade/widgets/button_widget.dart';
import 'package:triade/widgets/circle_button_text.dart';
import 'package:triade/widgets/common/route_aware.dart';
import 'package:triade/widgets/common/route_observer.dart';
import 'package:triade/widgets/coupon_card.dart';
import 'package:triade/widgets/coupon_card/coupon_card.dart';
import 'package:triade/widgets/coupon_card/coupon_model.dart';
import 'package:triade/widgets/deferred_widget.dart';
import 'package:triade/widgets/disable_widget.dart';
import 'package:triade/widgets/dropdown/dropdown_constants.dart';
import 'package:triade/widgets/dropdown/dropdown_widget.dart';
import 'package:triade/widgets/dropdown/dropdown_widget_story.dart';
import 'package:triade/widgets/dynamic_text.dart';
import 'package:triade/widgets/expandable/expandable_listtile.dart';
import 'package:triade/widgets/expandable/expansion_widget.dart';
import 'package:triade/widgets/header_view/header_view.dart';
import 'package:triade/widgets/material_tip.dart';
import 'package:triade/widgets/platform_error/platform_error.dart';
import 'package:triade/widgets/preview_json.dart';
import 'package:triade/widgets/preview_json/jsonview.dart';
import 'package:triade/widgets/radio_button.dart';
import 'package:triade/widgets/radio_option/radio_option.dart';
import 'package:triade/widgets/skeleton_widget/skeleton_widget.dart';
import 'package:triade/widgets/smart_engagement_banner/index.dart';
import 'package:triade/widgets/smart_engagement_banner/models/flexible_banner_config.dart';
import 'package:triade/widgets/smart_engagement_banner/models/popup_banner_config.dart';
import 'package:triade/widgets/smart_engagement_banner/models/smart_engagement_banner_config.dart';
import 'package:triade/widgets/smart_engagement_banner/models/sticky_banner_config.dart';
import 'package:triade/widgets/smart_engagement_banner/widgets/banner_mixin.dart';
import 'package:triade/widgets/smart_engagement_banner/widgets/flexible_banner.dart';
import 'package:triade/widgets/smart_engagement_banner/widgets/popup_banner.dart';
import 'package:triade/widgets/smart_engagement_banner/widgets/smart_engagement_banner.dart';
import 'package:triade/widgets/smart_engagement_banner/widgets/sticky_banner.dart';
import 'package:triade/widgets/story/index.dart';
import 'package:triade/widgets/story/models/story.dart';
import 'package:triade/widgets/story/models/story_config.dart';
import 'package:triade/widgets/story/story_card.dart';
import 'package:triade/widgets/story/story_collection.dart';
import 'package:triade/widgets/story/story_constants.dart';
import 'package:triade/widgets/story/story_widget.dart';
import 'package:triade/widgets/story/widgets/page_indicator.dart';
import 'package:triade/widgets/story/widgets/story_text.dart';
import 'package:triade/widgets/switch_button/switch_button_widget.dart';
import 'package:triade/widgets/switch_button_text.dart';
import 'package:triade/widgets/switcher_widget.dart';
import 'package:triade/widgets/text_showmore.dart';
import 'package:triade/widgets/timeago/messages/ar_messages.dart';
import 'package:triade/widgets/timeago/messages/az_messages.dart';
import 'package:triade/widgets/timeago/messages/ca_messages.dart';
import 'package:triade/widgets/timeago/messages/cs_messages.dart';
import 'package:triade/widgets/timeago/messages/da_messages.dart';
import 'package:triade/widgets/timeago/messages/de_messages.dart';
import 'package:triade/widgets/timeago/messages/dv_messages.dart';
import 'package:triade/widgets/timeago/messages/en_messages.dart';
import 'package:triade/widgets/timeago/messages/es_messages.dart';
import 'package:triade/widgets/timeago/messages/fa_messages.dart';
import 'package:triade/widgets/timeago/messages/fr_messages.dart';
import 'package:triade/widgets/timeago/messages/gr_messages.dart';
import 'package:triade/widgets/timeago/messages/he_messages.dart';
import 'package:triade/widgets/timeago/messages/hi_messages.dart';
import 'package:triade/widgets/timeago/messages/hu_messages.dart';
import 'package:triade/widgets/timeago/messages/id_messages.dart';
import 'package:triade/widgets/timeago/messages/it_messages.dart';
import 'package:triade/widgets/timeago/messages/ja_messages.dart';
import 'package:triade/widgets/timeago/messages/km_messages.dart';
import 'package:triade/widgets/timeago/messages/ko_messages.dart';
import 'package:triade/widgets/timeago/messages/ku_messages.dart';
import 'package:triade/widgets/timeago/messages/lookupmessages.dart';
import 'package:triade/widgets/timeago/messages/nl_messages.dart';
import 'package:triade/widgets/timeago/messages/pl_messages.dart';
import 'package:triade/widgets/timeago/messages/ro_messages.dart';
import 'package:triade/widgets/timeago/messages/ru_messages.dart';
import 'package:triade/widgets/timeago/messages/sv_messages.dart';
import 'package:triade/widgets/timeago/messages/ta_messages.dart';
import 'package:triade/widgets/timeago/messages/th_messages.dart';
import 'package:triade/widgets/timeago/messages/tr_messages.dart';
import 'package:triade/widgets/timeago/messages/vi_messages.dart';
import 'package:triade/widgets/timeago/messages/zh_messages.dart';
import 'package:triade/widgets/timeago/timeago.dart';
import 'package:triade/widgets/void_widget.dart';