chart_sparkline 1.1.1 chart_sparkline: ^1.1.1 copied to clipboard
Beautiful sparkline charts for Flutter.Average line, highest and lowest value.
import 'package:chart_sparkline_example/demo/animation.dart';
import 'package:chart_sparkline_example/logo_widget.dart';
import 'package:flutter/material.dart';
import 'package:chart_sparkline_example/demo/x_labels.dart';
import 'package:chart_sparkline_example/demo/max_line.dart';
import 'package:chart_sparkline_example/demo/all_points.dart';
import 'package:chart_sparkline_example/demo/average_line.dart';
import 'package:chart_sparkline_example/demo/fill_above.dart';
import 'package:chart_sparkline_example/demo/fill_below.dart';
import 'package:chart_sparkline_example/demo/grid_line.dart';
import 'package:chart_sparkline_example/demo/kline.dart';
import 'package:chart_sparkline_example/demo/lineopts.dart';
import 'package:chart_sparkline_example/demo/points.dart';
import 'package:chart_sparkline_example/demo/quick_start.dart';
import 'package:chart_sparkline_example/demo/smoothing.dart';
import 'package:chart_sparkline_example/demo/threshold.dart';
void main() {
runApp(
MaterialApp(
title: 'Chart Sparkline',
home: Scaffold(
backgroundColor: Colors.grey[200],
body: ListView(
children: [
LogoWidget(),
QuickStart(),
AnimationChart(),
XLabels(),
MaxLine(),
Lineopts(),
Points(),
AllPoints(),
FillBelow(),
FillAbove(),
Smoothing(),
AverageLine(),
Kline(),
GridLine(),
ThresholdX(),
],
),
),
),
);
}