Skip to content

Commit 92d24cf

Browse files
committed
Added examples of importing the library.
1 parent 3d0a536 commit 92d24cf

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ Prerequisites
2323
- [Dart](https://dart.dev) 2.8.1+
2424

2525
- [OpenXR SDK](https://github.com/KhronosGroup/OpenXR-SDK) 1.0.8+
26+
27+
Examples
28+
--------
29+
30+
### Importing the library
31+
32+
import 'package:openxr/openxr.dart' as xr;

example/example.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* This is free and unencumbered software released into the public domain. */
2+
3+
import 'package:openxr/openxr.dart' as xr;
4+
5+
void main() {
6+
// TODO
7+
}

0 commit comments

Comments
 (0)