widget_circular_animator 0.1.0 widget_circular_animator: ^0.1.0 copied to clipboard
A pre-built Flutter circular animator, can suit your new profile view or your any other widgets.
widget_circular_animator #
A new Flutter widget animator inspired by this lottie animation. [https://lottiefiles.com/3619-profile]
The widget helps to animate any widget you have such as a profile or an image or anything else with a simple modren animatins to help you build a better UI in your next app.\
Use Examples #
you can costumize anything in this widget, inner and outer colors, icons size and animation duration to suits your applications use-case.
Example #
an example on how to costumize this widget for whatever you want
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Align(
child: WidgetCircularAnimator(
size: 200,
innerIconsSize: 3,
outerIconsSize: 3,
innerColor: Colors.deepOrange,
outerColor: Colors.deepPurple,
innerAnimationSeconds: 30,
outerAnimationSeconds: 30,
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle, color: Colors.grey[200]),
child: Icon(
Icons.person_outline,
color: Colors.deepOrange[200],
size: 60,
),
),
),
)),
),
);
}
}