antidart 1.0.1
antidart: ^1.0.1 copied to clipboard
A package supports you use another languages like Kotlin, Java, etc... in Dart.
Antidart 🚫 #
Introduction #
You don't want to use Dart in itself?
You want to use an another language in Dart?
This package is generated for you!
Support languages #
KotlinJava(planning)C#(planning)Swift(planning)
Note
All planning languages are tentative and can be changed in the future.
Getting started #
- Run this command to add
antidartpackage into your project.
dart run antidart
- Check this line in your
pubspec.yamlfile 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.
Usage #
- Kotlin:
import 'package:antidart/kotlin.dart';
fun main(vararg<String> args) {
val awesome = 'Awesome!';
println('awesome: ${awesome}');
}
- See more longer examples in
/examplefolder.
Additional information #
- To contribute to this project, you can open an issue at here.