Flower Fire πΈπ₯
A comprehensive Flutter package providing customizable UI components, utilities, and services for building modern applications.
Features
- UI Components: A rich collection of customizable widgets for building beautiful interfaces
- Data Management: HTTP and WebSocket services for efficient data handling
- Utilities: Time and unit conversion tools
- Services: Integration with maps, weather, and other external services
Installation
Add this to your package's pubspec.yaml
file:
dependencies:
flower_fire: ^1.0.2
Usage
Import the package:
import 'package:flower_fire/flower.dart';
UI Components
// Example: Using the Animation widget
FlowerAnimation(
child: YourWidget(),
animationType: AnimationType.fade,
);
// Example: Using the Form Validation
FlowerForm(
fields: [
FlowerTextField(
label: 'Email',
validator: (value) => value?.isEmpty ?? true ? 'Required' : null,
),
],
);
Services
// Example: Using HTTP Service
final httpService = FlowerHttpService();
final response = await httpService.get('https://api.example.com/data');
// Example: Using WebSocket Service
final wsService = FlowerWebSocketService();
wsService.connect('wss://example.com/ws');
Utilities
// Example: Time Conversion
final convertedTime = FlowerTimeConverter.convert(
time: DateTime.now(),
fromZone: 'UTC',
toZone: 'America/New_York',
);
// Example: Unit Conversion
final convertedValue = FlowerUnitConverter.convert(
value: 100,
fromUnit: 'km',
toUnit: 'miles',
);
Platform Support
This package supports:
- Android
- iOS
- Web
- Windows
- macOS
- Linux
Additional Setup
Google Maps
For Google Maps functionality, add your API key to:
- Android:
android/app/src/main/AndroidManifest.xml
- iOS:
ios/Runner/AppDelegate.swift
Geolocation
For geolocation features, add the following permissions:
- Android:
android/app/src/main/AndroidManifest.xml
- iOS:
ios/Runner/Info.plist
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions, please:
- Check the documentation
- Search existing issues
- Create a new issue if needed
Changelog
See the CHANGELOG.md file for a list of changes between versions.
Libraries
- flower_fire
- A Flutter package for customizable UI components and utilities.
- services/data_ret_http
- services/fetch_internet
- services/google_maps
- services/websocket_prgm
- utils/time_conversion
- utils/unit_conversion
- widgets/air_quality
- widgets/animation
- widgets/bmi
- widgets/budget_management
- widgets/calc
- widgets/calorie_burn
- widgets/daily_journal
- widgets/drawing_canvas
- widgets/eco_habit_tracker
- widgets/employee_manage
- widgets/event_manage
- widgets/expense_management
- widgets/fitness_tracking
- widgets/form_vali_mid
- widgets/form_validation
- widgets/habit_tracker_graph
- widgets/hotel_search
- widgets/image
- widgets/login
- widgets/movie_review
- widgets/movie_review_advanced
- widgets/news_reader
- widgets/note_taking
- widgets/pet_care
- widgets/plant_care_manager
- widgets/quiz
- widgets/recipe_manage
- widgets/shape_drawing
- widgets/shopping_cart_sqlite
- widgets/shopping_mart
- widgets/smart_cooking_timer
- widgets/student_management
- widgets/ticket_book
- widgets/todo
- widgets/todo_mid
- widgets/video_player
- widgets/weather