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

The Linner Chart package lets you add a beautiful Linner Chart With random Color For Each Item.

Linner Chart #

The Linner Chart package lets you add a beautiful Linner Chart With random Color For Each Item.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  linner_chart: ^0.0.3
  1. Import the package and use it in your Flutter App.
import 'package:linner_chart/linner_chart.dart';;

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), 
        ),  
      ),  
    );  
  }  
}
1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

The Linner Chart package lets you add a beautiful Linner Chart With random Color For Each Item.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on linner_chart