dashed_circle_reloaded 0.0.3 copy "dashed_circle_reloaded: ^0.0.3" to clipboard
dashed_circle_reloaded: ^0.0.3 copied to clipboard

A flutter package for drawing dashed circles. Can also be used with CustomPaint.

dashed_circle_reloaded #

A flutter package for drawing dashed circles. Can also be used with CustomPaint.

Fork of dashed_circle

Usage #

Dashed Circle with Bill Gates

import 'package:flutter/material.dart';
import 'package:dashed_circle/dashed_circle.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  static const String url = 'https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Bill_Gates_Buys_Skype_%285707954468%29.jpg/2560px-Bill_Gates_Buys_Skype_%285707954468%29.jpg';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Dashed Circle Example',
      theme: ThemeData(),
      home: Scaffold(
        body: Center(
          child: DashedCircle(
            child: Padding(padding: EdgeInsets.all(6.0),
              child: CircleAvatar(
                radius: 70.0,
                backgroundImage: NetworkImage(url),
              ),
            ),
            color: Colors.deepOrangeAccent,
          )
        ),
      ),
    );
  }
}
2
likes
130
pub points
56%
popularity

Publisher

unverified uploader

A flutter package for drawing dashed circles. Can also be used with CustomPaint.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dashed_circle_reloaded