Nylo Banner

Nylo Support

Support library for the Flutter Nylo Framework.

pub package License: MIT


About

This package provides the core utilities and features that power the Nylo framework. It includes routing, state management, networking, storage, widgets, testing, and more.

Getting Started

Import everything with a single import:

import 'package:nylo_support/ny_core.dart';

Or import individual modules:

import 'package:nylo_support/router/ny_router.dart';
import 'package:nylo_support/networking/ny_networking.dart';
import 'package:nylo_support/widgets/ny_widgets.dart';

Features

  • Routing - Simple and powerful router with page transitions, route guards, and deep linking
  • Networking - API services with Dio, NyResponse, CachePolicy, NetworkLogger, and authentication handling
  • State Management - NyState and NyPage widgets with lifecycle helpers
  • Storage - Secure local storage with NyStorage and Backpack for easy data persistence
  • Forms - Build forms quickly with NyForm, built-in validation rules, and fields like FormSlider, FormRangeSlider, and FormTextField
  • Widgets - Ready-to-use widgets like CollectionView, InputField, StyledText, FadeOverlay, Connective, and more
  • Theming - NyThemeManager with reactive updates, system theme following, animated transitions, and secure persistence
  • Testing - Built-in testing framework with NyTest, NyWidgetTest, NyFactory, NyMockApi, time manipulation, and Pest-style syntax
  • Connectivity - NyConnectivity helper and Connective widget for reactive network state handling
  • Localization - Multi-language support with LanguageSwitcher widget
  • Events - Event bus for decoupled communication between components
  • Animations - ButtonAnimationStyle (bounce, pulse, squeeze, jelly, shine) and ButtonSplashStyle effects
  • Helpers - Extensions and utilities for common Flutter tasks including openUrl, NyEnvRegistry, and more

Installation

dependencies:
  nylo_support: ^7.1.0

Documentation

Requirements

  • Dart >= 3.10.7
  • Flutter >= 3.24.0

Changelog

See the CHANGELOG for release updates.

Licence

MIT © Nylo

Libraries

alerts/ny_alerts
alerts/src/default_toast_notification
alerts/src/toast_meta
alerts/src/toast_notification
controllers/ny_controllers
controllers/src/controller
controllers/src/ny_controller
dart_console/ny_dart_console
dart_console/src/ansi
dart_console/src/calendar
dart_console/src/console
dart_console/src/consolecolor
dart_console/src/ffi/termlib
dart_console/src/ffi/unix/termios
dart_console/src/ffi/unix/termlib_unix
dart_console/src/ffi/unix/unistd
dart_console/src/ffi/win/termlib_win
dart_console/src/key
dart_console/src/progressbar
dart_console/src/scrollbackbuffer
dart_console/src/spinner
dart_console/src/string_utils
dart_console/src/table
dart_console/src/textalignment
event_bus/ny_event_bus
event_bus/src/app_event
event_bus/src/event_bus
event_bus/src/history_entry
event_bus/src/subscription
events/ny_events
events/src/event_bus
events/src/event_subscription
events/src/extensions
events/src/interfaces/ny_event
events/src/listener
helpers/ny_helpers
helpers/src/auth
helpers/src/backpack
helpers/src/button_animation_style
helpers/src/button_splash_style
helpers/src/currency_input_matcher
helpers/src/extensions
helpers/src/extensions/collection_extensions
helpers/src/extensions/color_extensions
helpers/src/extensions/context_extensions
helpers/src/extensions/datetime_extensions
helpers/src/extensions/numeric_extensions
helpers/src/extensions/response_extensions
helpers/src/extensions/string_extensions
helpers/src/extensions/text_extensions
helpers/src/extensions/widget_extensions
helpers/src/helper
helpers/src/loading_style
helpers/src/mixins/api_service
helpers/src/model
helpers/src/ny_action
helpers/src/ny_app_usage
helpers/src/ny_cache
helpers/src/ny_color
helpers/src/ny_connectivity
helpers/src/ny_env
helpers/src/ny_logger
helpers/src/ny_scheduler
helpers/src/ny_session
helpers/src/ny_url
helpers/src/state
helpers/src/state_action
helpers/src/typedefs
local_notifications/ny_local_notifications
local_notifications/src/android_notification_config
local_notifications/src/helpers
local_notifications/src/ios_notification_config
local_notifications/src/local_notification
local_notifications/src/notification_attachment
local_notifications/src/notification_exception
local_storage/ny_local_storage
local_storage/src/ny_storage
local_storage/src/storage_config
local_storage/src/storage_exceptions
local_storage/src/storage_helpers
local_storage/src/storage_manager
local_storage/src/storage_utils
localization/ny_localization
localization/src/app_localization
localization/src/locale_helper
metro/ny_metro
metro/src/constants/strings
metro/src/metro_console
metro/src/metro_service
metro/src/models/metro_project_file
metro/src/models/ny_command
metro/src/models/ny_template
networking/ny_networking
networking/src/dio_api_service
networking/src/interceptors/network_logger
networking/src/models/cache_policy
networking/src/models/default_response
networking/src/models/ny_response
networking/src/ny_api_service
ny_core
nylo
nylo_support
providers/ny_providers
providers/src/providers
router/ny_router
router/src/errors/route_not_found
router/src/models/arguments_wrapper
router/src/models/ny_argument
router/src/models/ny_page_transition_settings
router/src/models/ny_query_parameters
router/src/models/nyrouter_options
router/src/models/nyrouter_route
router/src/models/nyrouter_route_guard
router/src/ny_navigator
router/src/ny_router
router/src/observers/ny_route_history_observer
router/src/page_transition/page_transition
router/src/page_transition/src/enum
router/src/page_transition/src/page_transition
router/src/page_transition/src/transition_type
router/src/route_matcher
router/src/router_functions
router/src/ui/page_not_found
testing/ny_testing
Nylo Testing Framework
testing/src/mocks/ny_mock_api
testing/src/mocks/ny_mock_channels
testing/src/mocks/ny_mock_route_guard
testing/src/mocks/ny_test_cache
testing/src/ny_factory
testing/src/ny_state_test_helpers
testing/src/ny_test
testing/src/ny_test_helper
testing/src/ny_time
testing/src/ny_widget_test
themes/ny_themes
themes/src/base_theme_config
themes/src/ny_theme_manager
themes/src/ny_theme_provider
themes/src/ny_theme_storage
themes/src/theme_color
widgets/ny_widgets
widgets/src/animated_button_wrapper
widgets/src/button_state
widgets/src/collection_view
widgets/src/connective
widgets/src/event_bus/update_state
widgets/src/fade_overlay
widgets/src/fields/field_base_state
widgets/src/fields/field_style
widgets/src/fields/form_checkbox
widgets/src/fields/form_chips
widgets/src/fields/form_date_time_picker
widgets/src/fields/form_picker
widgets/src/fields/form_radio
widgets/src/fields/form_range_slider
widgets/src/fields/form_slider
widgets/src/fields/form_switch_box
widgets/src/fields/form_text_field
widgets/src/form/field
widgets/src/form/form
widgets/src/form/form_collection
widgets/src/form/form_data
widgets/src/form/form_submittable
widgets/src/form/ny_form
widgets/src/form/validation
widgets/src/form/validation/form_rule
widgets/src/form/validation/form_validation_response
widgets/src/form/validation/rules
widgets/src/future_widget
widgets/src/input_field
widgets/src/language_switcher
widgets/src/models/state_actions
widgets/src/navigation_hub/alert_tab
widgets/src/navigation_hub/badge_tab
widgets/src/navigation_hub/bottom_nav_style
widgets/src/navigation_hub/custom_progress_indicators
widgets/src/navigation_hub/journey_button_style
widgets/src/navigation_hub/journey_progress_style
widgets/src/navigation_hub/journey_state
widgets/src/ny_app
widgets/src/ny_base_modal
widgets/src/ny_base_state
widgets/src/ny_page
widgets/src/ny_state
widgets/src/ny_stateful_widget
widgets/src/pullable
widgets/src/spacing
widgets/src/styled_text
widgets/src/styles/bottom_modal_sheet_style
widgets/src/text_tr