dart_native library

Classes

BasicProtocol
Block
BOOL
CGAffineTransform
CGFloat
CGPoint
CGRect
CGSize
CGVector
char
Class
CString
DartJava
DispatchQoS
DispatchQueue
float
JObject
long
long_long
NativeAvailable
NativeDeprecated
NativePlatform
NativeUnavailable
NSArray
NSDictionary
NSDirectionalEdgeInsets
NSEnum
NSError
NSInteger
NSMutableArray
Only for type casting. It's unmodifiable.
NSMutableDictionary
Only for type casting. It's unmodifiable.
NSMutableSet
Only for type casting. It's unmodifiable.
NSMutableString
Only for type casting. It's unmodifiable.
NSNotification
NSNotificationCenter
NSNumber
NSObject
The root class of most Objective-C class hierarchies, from which subclasses inherit a basic interface to the runtime system and the ability to behave as Objective-C objects.
NSObjectProtocol
The group of methods that are fundamental to all Objective-C objects.
NSObjectRef<T extends id>
NSOptions
NSRange
NSSet
NSString
NSUInteger
NSValue
Protocol
SEL
short
size_t
UIEdgeInsets
UIOffset
unsigned_char
unsigned_int
unsigned_long
unsigned_long_long
unsigned_short

Extensions

ConvertToNSArray
ConvertToNSDictionary
ConvertToNSSet
ConvertToNSString
NSValueRange
NSValueUIGeometry
ToProtocol
ToSEL

Constants

android → const NativePlatform
const NativePlatform()
ios → const NativePlatform
const NativePlatform()
macos → const NativePlatform
const NativePlatform()
tvos → const NativePlatform
const NativePlatform()
watchos → const NativePlatform
const NativePlatform()

Properties

Block_copy Pointer<Void> Function(Pointer<Void>)
final
Block_release → void Function(Pointer<Void>)
final
class_getName Pointer<Utf8> Function(Pointer<Void>)
final
dispatch_async → void Function(Pointer<Void>, Pointer<Void>)
final
dispatch_get_global_queue Pointer<Void> Function(int, int)
final
dispatch_get_main_queue Pointer<Void> Function()
final
hadRanDartNative bool
read-only
nil → id
final
objc_getClass Pointer<Void> Function(Pointer<Utf8>)
final
objc_getMetaClass Pointer<Void> Function(Pointer<Utf8>)
final
objc_getProtocol Pointer<Void> Function(Pointer<Utf8>)
final
object_getClass Pointer<Void> Function(Pointer<Void>)
final
object_isClass int Function(Pointer<Void>)
final
protocol_getName Pointer<Utf8> Function(Pointer<Void>)
final
sel_getName Pointer<Utf8> Function(Pointer<Void>)
final
sel_registerName Pointer<Void> Function(Pointer<Utf8>)
final

Functions

alloc(Class isa) Pointer<Void>
convertFromPointer(String type, dynamic arg) → dynamic
registerProtocolCallback(dynamic target, Function callback, String selName, Type protocolType) bool
Register callback function for selector in protocol. Protocol protocolType must be used in native code. This function is only used for pure Dart class which implements a objc protocol.
registerTypeConvertor(String type, ConvertorFromPointer convertor) → void
runDartNative() → void
selector(String s) SEL
type({dynamic of}) Class
Returns the class object for the receiver’s class.

Typedefs

ConvertorFromPointer(Pointer<Void> ptr) → dynamic
DispatchWorkItem() → void