mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
web/charts: Migrate to null safety (#921)
This commit is contained in:
@@ -21,10 +21,10 @@ import 'package:flutter/material.dart';
|
||||
import 'package:charts_flutter/flutter.dart' as charts;
|
||||
|
||||
class SimpleDatumLegend extends StatelessWidget {
|
||||
final List<charts.Series> seriesList;
|
||||
final bool animate;
|
||||
final List<charts.Series<dynamic, int>> seriesList;
|
||||
final bool? animate;
|
||||
|
||||
const SimpleDatumLegend(this.seriesList, {this.animate, Key key})
|
||||
const SimpleDatumLegend(this.seriesList, {this.animate, Key? key})
|
||||
: super(key: key);
|
||||
|
||||
factory SimpleDatumLegend.withSampleData() {
|
||||
|
||||
Reference in New Issue
Block a user