Package-level declarations

Types

Link copied to clipboard
sealed class AbstractType

Parent for all types in the ast package.

Link copied to clipboard

A not null Boolean StandardType.

Link copied to clipboard
Link copied to clipboard

A not null ByteArray StandardType.

Link copied to clipboard
sealed class Controller : CustomType

Data wrapper for classes annotated with @Controller.

Link copied to clipboard
open class CustomType(val className: String, val packageName: String, val members: List<TypeMember> = emptyList()) : AbstractType

A user defined class.

Link copied to clipboard

A not null DoubleArray StandardType.

Link copied to clipboard

A not null Double StandardType.

Link copied to clipboard
open class EnumType(val className: String, val packageName: String, val values: List<String> = emptyList(), val valuesJSON: List<String> = emptyList()) : AbstractType

A user defined enum class.

Link copied to clipboard

A not null FloatArray StandardType.

Link copied to clipboard
data class FlutterAsyncChannel(val name: String) : FlutterChannel
Link copied to clipboard
sealed interface FlutterChannel
Link copied to clipboard
data class FlutterSyncChannel(val name: String) : FlutterChannel
Link copied to clipboard

A not null IntArray StandardType.

Link copied to clipboard
open class IntType : StandardType

A not null Integer StandardType.

Link copied to clipboard

Alias for Either with only left value of type String (error).

Link copied to clipboard

Alias for Either with only left value of type String (error).

Link copied to clipboard
open class ListType(val child: AbstractType? = null) : StandardType, Nested

A not null List StandardType.

Link copied to clipboard

A not null LongArray StandardType.

Link copied to clipboard
open class LongType : StandardType

A not null Long StandardType.

Link copied to clipboard
open class MapType(val key: AbstractType? = null, val value: AbstractType? = null) : StandardType, Nested

A not null Map StandardType.

Link copied to clipboard
data class Method(val command: String, val import: String, val method: String, val async: Boolean = false, val responseDataType: AbstractType, val requestDataType: AbstractType? = null, val requestParameterName: String? = null)

Data class to contain information about analyzed Kotlin (Platform) code which is used to generate Dart code in the Flutter lib folder.

Link copied to clipboard
interface Nested

A type that has type parameters.

Link copied to clipboard
interface Nullable

A type that is nullable.

Link copied to clipboard

A nullable Boolean StandardType.

Link copied to clipboard

A nullable ByteArray StandardType.

Link copied to clipboard
class NullableCustomType(val className: String, val packageName: String, fields: List<TypeMember> = emptyList()) : CustomType, Nullable

A nullable variant of CustomType.

Link copied to clipboard
Link copied to clipboard

A nullable Double StandardType.

Link copied to clipboard

A nullable FloatArray StandardType.

Link copied to clipboard

A nullable IntArray StandardType.

Link copied to clipboard

A nullable Integer StandardType.

Link copied to clipboard
open class NullableListType(val child: AbstractType? = null) : ListType, Nullable

A nullable List StandardType.

Link copied to clipboard

A nullable LongArray StandardType.

Link copied to clipboard

A nullable Long StandardType.

Link copied to clipboard
open class NullableMapType(val key: AbstractType? = null, val value: AbstractType? = null) : MapType, Nullable

A nullable LongArray StandardType.

Link copied to clipboard

A nullable String StandardType.

Link copied to clipboard
interface RequestScoped
Link copied to clipboard
class RequestScopedBroadcastController(val packageName: String, val className: String, val functions: List<Method>, val response: AbstractType) : BroadcastController, RequestScoped
Link copied to clipboard
class RequestScopedSimpleController(val packageName: String, val className: String, val functions: List<Method>) : SimpleController, RequestScoped

A Simple Controller which is a class with a no-arg constructor and contains one or more @Event annotated functions.

Link copied to clipboard
Link copied to clipboard
interface Singleton
Link copied to clipboard
class SingletonBroadcastController(val packageName: String, val className: String, val functions: List<Method>, val response: AbstractType) : BroadcastController, Singleton

A Broadcast Controller which is a class with a no-arg constructor which extends KlutterBroadcast.

Link copied to clipboard
class SingletonSimpleController(val packageName: String, val className: String, val functions: List<Method>) : SimpleController, Singleton
Link copied to clipboard
@Serializable
data class SquintCustomType(val className: String, val members: List<SquintCustomTypeMember>) : SquintType

Data class to serialize a Klutter CustomType to JSON, formatted in a way which can be read by dart library Squint (https://pub.dev/packages/squint_json).

Link copied to clipboard
@Serializable
data class SquintCustomTypeMember(val name: String, val type: String, val nullable: Boolean)

A member of a CustomType SquintCustomType.

Link copied to clipboard
@Serializable
data class SquintEnumType(val className: String, val values: List<String>, val valuesJSON: List<String>) : SquintType
Link copied to clipboard
data class SquintMessageSource(val type: AbstractType, val squintType: SquintType, val source: File? = null)
Link copied to clipboard
@Serializable
sealed interface SquintType

Parent for all types that are serializable to a format that dart squint can process.

Link copied to clipboard
sealed class StandardType : AbstractType

A standard Kotlin/Dart type, as defined in StandardTypeMap.

Link copied to clipboard

A not null String StandardType.

Link copied to clipboard
data class TypeData(val type: String, val nullable: Boolean)

Raw String wrapper which contains a Type.

Link copied to clipboard
data class TypeMember(val name: String, val type: AbstractType)

Representation of a class field member.

Link copied to clipboard
data class UndeterminedType(val className: String) : AbstractType
Link copied to clipboard
Link copied to clipboard

Alias for Either with only right value of type AbstractType.

Link copied to clipboard

Alias for Either with only right value of type TypeMember.

Functions