dashed_circle

Creator: coderz1093

Last updated:

Add to Cart

Description:

dashed circle

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

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,
)
),
),
);
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.