Skip to content

Commit 2a6a678

Browse files
authored
add import line to dart usage code block (#94)
1 parent 8ffb657 commit 2a6a678

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

flutter_map_compass/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ dependencies:
2626
```
2727
2828
## Usage
29+
To import the package
30+
```dart
31+
import 'package:flutter_map_compass/flutter_map_compass.dart';
32+
```
2933

34+
To use the MapCompass
3035
```dart
3136
@override
3237
Widget build(BuildContext context) {
@@ -57,4 +62,4 @@ Widget build(BuildContext context) {
5762
If you need help you
5863
can [open an issue](https://github.com/josxha/flutter_map_plugins/issues/new/choose)
5964
or join
60-
the [`flutter_map` discord server](https://discord.gg/BwpEsjqMAH).
65+
the [`flutter_map` discord server](https://discord.gg/BwpEsjqMAH).

0 commit comments

Comments
 (0)