Skip to content

Commit f07e86f

Browse files
committedMar 7, 2025
Initial commit
0 parents  commit f07e86f

9 files changed

+97
-0
lines changed
 

‎.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://dart.dev/guides/libraries/private-files
2+
# Created by `dart pub`
3+
.dart_tool/
4+
5+
# Avoid committing pubspec.lock for library packages; see
6+
# https://dart.dev/guides/libraries/private-files#pubspeclock.
7+
pubspec.lock

‎CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 1.0.0
2+
3+
- Initial version.

‎README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!--
2+
This README describes the package. If you publish this package to pub.dev,
3+
this README's contents appear on the landing page for your package.
4+
5+
For information about how to write a good package README, see the guide for
6+
[writing package pages](https://dart.dev/tools/pub/writing-package-pages).
7+
8+
For general information about developing packages, see the Dart guide for
9+
[creating packages](https://dart.dev/guides/libraries/create-packages)
10+
and the Flutter guide for
11+
[developing packages and plugins](https://flutter.dev/to/develop-packages).
12+
-->
13+
14+
TODO: Put a short description of the package here that helps potential users
15+
know whether this package might be useful for them.
16+
17+
## Features
18+
19+
TODO: List what your package can do. Maybe include images, gifs, or videos.
20+
21+
## Getting started
22+
23+
TODO: List prerequisites and provide or point to information on how to
24+
start using the package.
25+
26+
## Usage
27+
28+
TODO: Include short and useful examples for package users. Add longer examples
29+
to `/example` folder.
30+
31+
```dart
32+
const like = 'sample';
33+
```
34+
35+
## Additional information
36+
37+
TODO: Tell users more about the package: where to find more information, how to
38+
contribute to the package, how to file issues, what response they can expect
39+
from the package authors, and more.

‎analysis_options.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:rexios_lints/dart/package_extra.yaml

‎example/isolate_channel_example.dart

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import 'package:isolate_channel/isolate_channel.dart';
2+
3+
void main() {
4+
var awesome = Awesome();
5+
print('awesome: ${awesome.isAwesome}');
6+
}

‎lib/isolate_channel.dart

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/// Support for doing something awesome.
2+
///
3+
/// More dartdocs go here.
4+
library;
5+
6+
export 'src/isolate_channel_base.dart';
7+
8+
// TODO: Export any libraries intended for clients of this package.

‎lib/src/isolate_channel_base.dart

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// TODO: Put public facing types in this file.
2+
3+
/// Checks if you are awesome. Spoiler: you are.
4+
class Awesome {
5+
bool get isAwesome => true;
6+
}

‎pubspec.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: isolate_channel
2+
description: A starting point for Dart libraries or applications.
3+
version: 1.0.0
4+
5+
environment:
6+
sdk: ^3.7.0
7+
8+
dependencies:
9+
dev_dependencies:
10+
test: ^1.24.0
11+
rexios_lints: ^10.1.0

‎test/isolate_channel_test.dart

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import 'package:isolate_channel/isolate_channel.dart';
2+
import 'package:test/test.dart';
3+
4+
void main() {
5+
group('A group of tests', () {
6+
final awesome = Awesome();
7+
8+
setUp(() {
9+
// Additional setup goes here.
10+
});
11+
12+
test('First Test', () {
13+
expect(awesome.isAwesome, isTrue);
14+
});
15+
});
16+
}

0 commit comments

Comments
 (0)
Please sign in to comment.