mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
web/charts: Migrate to null safety (#921)
This commit is contained in:
@@ -22,9 +22,9 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class TimeSeriesBar extends StatelessWidget {
|
||||
final List<charts.Series<TimeSeriesSales, DateTime>> seriesList;
|
||||
final bool animate;
|
||||
final bool? animate;
|
||||
|
||||
const TimeSeriesBar(this.seriesList, {this.animate, Key key})
|
||||
const TimeSeriesBar(this.seriesList, {this.animate, Key? key})
|
||||
: super(key: key);
|
||||
|
||||
/// Creates a [TimeSeriesChart] with sample data and no transition.
|
||||
|
||||
Reference in New Issue
Block a user