v1.0.2flexiges
फ्लेक्सी एक डायनामिक और व्यापक फ्लटर पैकेज है जो विकासकर्ताओं को उनके विजेट्स को आसानी और सटीकता के साथ ड्रॉप, ज़ूम, घुमाएं और स्केल करने की क्षमता प्रदान करने के लिए डिज़ाइन किया गया है। फ्लेक्सी इसे सरल और कुशल बनाता है।
फ्लेक्सी एक डायनामिक और व्यापक फ्लटर पैकेज है जो विकासकर्ताओं को उनके विजेट्स को आसानी और सटीकता के साथ ड्रॉप, ज़ूम, घुमाएं और स्केल करने की क्षमता प्रदान करने के लिए डिज़ाइन किया गया है। फ्लेक्सी इसे सरल और कुशल बनाता है।
^0.0.2{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flexi is a Flutter package that provides a flexible widget for zooming, panning, and rotating child widgets.
Alt TextAdd the following dependency to your pubspec.yaml file:
dependencies:
flexi: ^1.0.0
Import the package in your Dart file:
import 'package:flexi/flexi.dart';
Wrap your widget with the Flexi widget:
FlexiGes(
child: YourWidget(),
minScale: 0.8, // Set the minimum scale limit (optional)
maxScale: 2.5, // Set the maximum scale limit (optional)
onScaleUpdate: (offset, scale, rotation) {
// Handle scale update event
},
onScaleEnd: (details) {
// Handle scale end event
},
)
Check out the example directory for a working example of using the Flexi widget.
To run the tests for the Flexi package, use the following command:
flutter test flexi_test.dart
Contributions are welcome! Please submit any issues or pull requests via the GitHub repository.
This project is licensed under the MIT License.
Feel free to customize the content further based on your package's specific details and testing instructions.