pluggy 0.0.3 copy "pluggy: ^0.0.3" to clipboard
pluggy: ^0.0.3 copied to clipboard

A Flutter package that provides general-purpose services, tools, and features for Flutter applications.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #

Added #

  • New features that will be added in the next release

Changed #

  • Changes in existing functionality

Deprecated #

  • Features that will be removed in upcoming releases

Removed #

  • Features that have been removed

Fixed #

  • Bug fixes

Security #

  • Security vulnerability fixes

0.0.2 - 2024-12-19 #

Added #

  • Alert Service: A new service for showing alerts throughout the app
  • SnackBar Support: Show SnackBar messages from anywhere in the app without context
  • BottomSheet Support: Display modal bottom sheets from any location
  • Context-Independent Operation: Works without requiring Navigator context
  • AlertServiceConfig: Configuration class for setting up the service

Changed #

  • Updated Flutter SDK requirement to >=3.0.0
  • Updated Dart SDK requirement to >=3.0.0 <4.0.0
  • Improved package structure with services directory

Technical Details #

  • Added lib/services/alert_service/ directory
  • Implemented AlertService class with static methods
  • Added AlertServiceConfig for global navigator key management
  • Integrated with Flutter's ScaffoldMessenger and showModalBottomSheet

0.0.1 - 2024-12-19 #

Added #

  • Initial package structure
  • Basic project setup
  • Flutter package configuration
  • MIT License
  • Basic documentation

Technical Details #

  • Created lib/pluggy.dart with basic library structure
  • Added pubspec.yaml with initial dependencies
  • Included analysis_options.yaml for code quality
  • Added basic test structure

Migration Guide #

From 0.0.1 to 0.0.2 #

To use the new Alert Service in version 0.0.2:

  1. Update your MaterialApp to include the navigator key:
MaterialApp(
  navigatorKey: AlertServiceConfig().navigatorKey,
  // ... other properties
)
  1. Import and use the Alert Service:
import 'package:pluggy/services/alert_service/alert_service.dart';

// Show SnackBar
AlertService.showSnackBar("Your message here");

// Show BottomSheet
AlertService.showBottomSheet("Title", "Message");

Contributing #

When adding new entries to this changelog, please follow the established format and include:

  • Clear description of changes
  • Migration steps if breaking changes are introduced
  • Technical details for developers
  • Date of release
0
likes
0
points
68
downloads

Publisher

verified publisheralikara.dev

Weekly Downloads

A Flutter package that provides general-purpose services, tools, and features for Flutter applications.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #services #alerts #snackbar #bottomsheet

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pluggy