circular_rotation_flutter 1.0.0+4 copy "circular_rotation_flutter: ^1.0.0+4" to clipboard
circular_rotation_flutter: ^1.0.0+4 copied to clipboard

A very simple and easy to use package which can be used to rotate any widget in circle.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:circular_rotation_flutter/src/circular_rotation.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.white,
        body: Center(
          child: CircularRotationFlutter(
            radius: 100,
            child: Icon(
              Icons.add_reaction_rounded,
              color: Colors.amber,
              size: 48,
            ),
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
0
downloads

Publisher

verified publisherammarjaved.com

Weekly Downloads

A very simple and easy to use package which can be used to rotate any widget in circle.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on circular_rotation_flutter