Skip to content
Prev Previous commit
Next Next commit
Revert old TODO
  • Loading branch information
johnpryan committed Feb 23, 2023
commit 857225bb1094b6de546bf3a39b1169f8c00ce8fa
3 changes: 1 addition & 2 deletions packages/go_router_builder/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ class PersonScreen extends StatelessWidget {
in person.details.entries)
ListTile(
title: Text(
// TODO(kevmoo): replace `split` with `name` when min SDK is 2.15
'${entry.key.toString().split('.').last} - ${entry.value}',
'${entry.key.name} - ${entry.value}',
),
trailing: OutlinedButton(
onPressed: () => PersonDetailsRoute(
Expand Down