1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 06:18:49 +00:00

Remove unneeded types (#949)

This commit is contained in:
Ahmed Ashour
2021-11-03 17:58:12 +01:00
committed by GitHub
parent 64805fe5b6
commit 29339b8334
30 changed files with 54 additions and 55 deletions

View File

@@ -48,7 +48,7 @@ class _MainLayoutState extends State<MainLayout> with TickerProviderStateMixin {
createAnimation(0);
weekLabels = <WeekLabel>[];
weekLabels = [];
weekLabels.add(WeekLabel.forDate(DateTime(2019, 2, 26), 'v1.2'));
weekLabels.add(WeekLabel.forDate(DateTime(2018, 12, 4), 'v1.0'));
// weekLabels.add(WeekLabel.forDate(new DateTime(2018, 9, 19), "Preview 2"));
@@ -155,7 +155,7 @@ class _MainLayoutState extends State<MainLayout> with TickerProviderStateMixin {
Column mainColumn = Column(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
children: <Widget>[
children: [
Expanded(child: layeredChart),
Padding(
padding: const EdgeInsets.only(