You don't want to use Dart
in itself?
You want to use an another language in Dart
?
This package is generated for you!
Kotlin
Java
(planning)C#
(planning)Swift
(planning)
Note
All planning languages are tentative and can be changed in the future.
- Run this command to add
antidart
package into your project.
dart run antidart
- Check this line in your
pubspec.yaml
file if it's not exist.
dependencies:
antidart: ^<latest_version>
- Import a programming language that you want to use like this.
import 'package:antidart/<support_language>.dart';
Tip
To avoid conflicts between libraries, please only import a single language that you want to use.
- Kotlin:
import 'package:antidart/kotlin.dart';
fun main(vararg<String> args) {
val awesome = 'Awesome!';
println('awesome: ${awesome}');
}
- See more longer examples in
/example
folder.
- To contribute to this project, you can open an issue at here.