UNPKG

@nativescript/flutter

Version:
25 lines (24 loc) 928 B
import { FlutterCommon } from './common'; export declare class FlutterDelegate extends FlutterAppDelegate implements UIApplicationDelegate { static ObjCProtocols: ({ prototype: UIApplicationDelegate; } | { prototype: FlutterAppLifeCycleProvider; } | { prototype: FlutterPluginRegistry; })[]; applicationDidFinishLaunchingWithOptions(application: UIApplication, launchOptions: NSDictionary<string, any>): boolean; } export declare function configureFlutterEngineGroup(): void; export declare function init(): void; export declare class Flutter extends FlutterCommon { private _flutterViewController; private _platformChannel; private _engine; createNativeView(): UIView; initNativeView(): void; disposeNativeView(): void; sendMessage(type: string, data?: any, callback?: (value?: any) => void): void; private _methodCallHandler; onLoaded(): void; }