Skip to content

Commit

Permalink
added comment based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ht committed Oct 28, 2021
1 parent ed4dfee commit d49bd5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ final List<ExamplePage> _allPages = <ExamplePage>[
];

class MapsDemo extends StatelessWidget {
// FIXME: You need to pass in your access token via the command line argument
// --dart-define=ACCESS_TOKEN=ADD_YOUR_TOKEN_HERE
// It is also possible to pass it in while running the app via an IDE by
// passing the same args there.
//
// Alternatively you can replace `String.fromEnvironment("ACCESS_TOKEN")`
// in the following line with your access token directly.
static const String ACCESS_TOKEN = String.fromEnvironment("ACCESS_TOKEN");

void _pushPage(BuildContext context, ExamplePage page) async {
Expand Down

0 comments on commit d49bd5f

Please sign in to comment.