Last updated:
0 purchases
linner chart
Linner Chart #
The Linner Chart package lets you add a beautiful Linner Chart With random Color For Each Item.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
linner_chart: ^0.0.3
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:linner_chart/linner_chart.dart';;
copied to clipboard
Example #
There are a number of properties that you can modify:
strokeWidth
backgroundColor
class LinnerChartScreen extends StatelessWidget {
const LinnerChartScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const LinnerChat(
charts: [
ChartModel(
persintge:0.5
),
ChartModel(
persintge:0.3
),
],
strokeWidth: 8,
backgroundColor: Color(0xFFE5E5E5),
),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.