mirror of
https://github.com/flutter/samples.git
synced 2026-05-13 10:27:09 +00:00
Remove unneeded types (#949)
This commit is contained in:
@@ -81,7 +81,7 @@ class StaticallyProvidedTicks extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// Create the ticks to be used the domain axis.
|
||||
final staticTicks = <charts.TickSpec<String>>[
|
||||
final staticTicks = [
|
||||
const charts.TickSpec(
|
||||
// Value must match the domain value.
|
||||
'2014',
|
||||
|
||||
Reference in New Issue
Block a user