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 ChartValue { 7 : double value; 8 : final MaterialColor color; 9 : final String tooltip; 10 : 11 0 : ChartValue( 12 : this.value, { 13 : this.color = Colors.red, 14 : this.tooltip = '', 15 : }); 16 : }