Last updated:
0 purchases
flutter pivoting ring
flutter_pivoting_ring #
A customizable pivoting ring widget for Flutter applications. This widget displays a dynamic, rotating ring with a 3D perspective effect, suitable for use in various applications such as loaders, animations, or decorative elements.
Features #
3D rotating ring animation
Customizable colors and sizes
Smooth animation with Flutter's AnimationController
Installation #
Add the following to your pubspec.yaml file:
dependencies:
flutter_pivoting_ring: ^0.0.1
Then, run " flutter pub get " to install the package.
## Usag
Usage :
Import the package and use the PivotingRing widget in your Flutter application
import 'package:flutter/material.dart';
import 'package:flutter_pivoting_ring/flutter_pivoting_ring.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Pivoting Ring Example')),
body: Center(child: PivotingRing()),
),
);
}
}
Customization:
You can customize the appearance and behavior of the PivotingRing by modifying its properties
PivotingRing(
duration: Duration(seconds: 3), // Customize the duration of the animation
size: 100.0, // Customize the size of the ring
color: Colors.blue, // Customize the color of the ring
)
Contributing:
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository
License:
This project is licensed under the MIT License - see the LICENSE file for details.
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.