Skip to content

A package supports you use another languages like Kotlin, Java, etc... in Dart.

License

Notifications You must be signed in to change notification settings

zitherharpcommunity/antidart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Kotlin
  • Java (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 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.

Usage

  • Kotlin:
import 'package:antidart/kotlin.dart';

fun main(vararg<String> args) {
  val awesome = 'Awesome!';
  println('awesome: ${awesome}');
}
  • See more longer examples in /example folder.

Additional information

  • To contribute to this project, you can open an issue at here.

About

A package supports you use another languages like Kotlin, Java, etc... in Dart.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages