tool_ui_shared 0.0.6 copy "tool_ui_shared: ^0.0.6" to clipboard
tool_ui_shared: ^0.0.6 copied to clipboard

Contains common UI components

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add tool_ui_shared

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  tool_ui_shared: ^0.0.6

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:tool_ui_shared/animations.dart';
import 'package:tool_ui_shared/core/animations/animation_constants.dart';
import 'package:tool_ui_shared/core/animations/animation_event.dart';
import 'package:tool_ui_shared/core/animations/animation_state.dart';
import 'package:tool_ui_shared/core/animations/animation_state_contract.dart';
import 'package:tool_ui_shared/core/animations/animation_utils.dart';
import 'package:tool_ui_shared/core/animations/custom_animations.dart';
import 'package:tool_ui_shared/core/theme/app_theme_extension.dart';
import 'package:tool_ui_shared/core/theme/custom_theme_provider.dart';
import 'package:tool_ui_shared/core/theme/extensions/animation_theme.dart';
import 'package:tool_ui_shared/core/theme/theme_data_utils.dart';
import 'package:tool_ui_shared/core/theme/theme_provider.dart';
import 'package:tool_ui_shared/core/widget/animation/card_flip_animation.dart';
import 'package:tool_ui_shared/core/widget/animation/transition_animation.dart';
import 'package:tool_ui_shared/core/widget/components/components_themes.dart';
import 'package:tool_ui_shared/core/widget/empty_app_bar.dart';
import 'package:tool_ui_shared/core/widget/list/selectable_card.dart';
import 'package:tool_ui_shared/core/widget/menu/button_context_menu.dart';
import 'package:tool_ui_shared/core/widget/menu/context_menu_item.dart';
import 'package:tool_ui_shared/core/widget/oblique_line_widget.dart';
import 'package:tool_ui_shared/core/widget/padding_constants.dart';
import 'package:tool_ui_shared/core/widget/sheets/sliding_animation_widget.dart';
import 'package:tool_ui_shared/core/widget/sheets/top_sheet.dart';
import 'package:tool_ui_shared/core/widget/states/content_state_view.dart';
import 'package:tool_ui_shared/core/widget/states/info_message_view.dart';
import 'package:tool_ui_shared/core/widget/states/warning_widget.dart';
import 'package:tool_ui_shared/core/widget/text/focus_node.dart';
import 'package:tool_ui_shared/core/widget/text/spannable.dart';
import 'package:tool_ui_shared/core/widget/utils/completable_consumer.dart';
import 'package:tool_ui_shared/core/widget/utils/future_consumer.dart';
import 'package:tool_ui_shared/core/widget/utils/multi_stream_listener.dart';
import 'package:tool_ui_shared/core/widget/utils/stream_consumer.dart';
import 'package:tool_ui_shared/core/widget/utils/stream_listener.dart';
import 'package:tool_ui_shared/core/widget/zooming_tabs.dart';
import 'package:tool_ui_shared/data.dart';
import 'package:tool_ui_shared/data/exceptions/resources_exception.dart';
import 'package:tool_ui_shared/data/models/dto/tutorial_data_dto.dart';
import 'package:tool_ui_shared/data/models/dto/tutorial_data_dto.freezed.dart';
import 'package:tool_ui_shared/data/models/dto/tutorial_data_dto.g.dart';
import 'package:tool_ui_shared/data/models/mappers/tools_ui_mappers.dart';
import 'package:tool_ui_shared/data/models/orientation_mode.dart';
import 'package:tool_ui_shared/data/models/selectable/selectable_item_contract.dart';
import 'package:tool_ui_shared/data/models/selectable/selectable_list_contract.dart';
import 'package:tool_ui_shared/data/models/user_status.dart';
import 'package:tool_ui_shared/data/providers/tutorial_storage_provider.dart';
import 'package:tool_ui_shared/data/providers/user_avatar_provider.dart';
import 'package:tool_ui_shared/declaration.dart';
import 'package:tool_ui_shared/declaration/dimen_initializer.dart';
import 'package:tool_ui_shared/declaration/tool_ui_shared_di.dart';
import 'package:tool_ui_shared/declaration/tool_ui_shared_module.dart';
import 'package:tool_ui_shared/declaration/tool_ui_shared_module_impl.dart';
import 'package:tool_ui_shared/presentation/pages/dialog/online_bottom_sheet_dialog.dart';
import 'package:tool_ui_shared/presentation/pages/selectable/selectable_item.dart';
import 'package:tool_ui_shared/presentation/pages/selectable/selectable_list_screen.dart';
import 'package:tool_ui_shared/presentation/pages/selectable/selectable_list_state.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/beta_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/game_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/game_icon_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/game_vip_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/online_status_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/badges/vip_badge.dart';
import 'package:tool_ui_shared/presentation/widgets/buttons/action_button.dart';
import 'package:tool_ui_shared/presentation/widgets/buttons/adapter/action_button_delegate.dart';
import 'package:tool_ui_shared/presentation/widgets/buttons/scroll_up_down_floating_action_button.dart';
import 'package:tool_ui_shared/presentation/widgets/cards/animated_card.dart';
import 'package:tool_ui_shared/presentation/widgets/expandable_text_widget.dart';
import 'package:tool_ui_shared/presentation/widgets/focus_node_controller.dart';
import 'package:tool_ui_shared/presentation/widgets/search_widget.dart';
import 'package:tool_ui_shared/presentation/widgets/users/avatar_progress.dart';
import 'package:tool_ui_shared/presentation/widgets/users/user_widgets.dart';
import 'package:tool_ui_shared/resources.dart';
import 'package:tool_ui_shared/theme.dart';
import 'package:tool_ui_shared/ui_shared.dart';