Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved. 2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file. 3 : 4 : import 'package:flutter/material.dart'; 5 : 6 : class ChartData { 7 : final List<Offset> data; 8 : final MaterialColor color; 9 : final double strokeWidth; 10 : final dynamic helper; 11 : 12 0 : ChartData( 13 : this.data, { 14 : this.color = Colors.red, 15 : this.strokeWidth = 2.0, 16 : this.helper, 17 : }); 18 : }