Test update to 0.4.0

This commit is contained in:
Phani Pavan K
2023-04-05 19:15:46 +05:30
parent 3270f1f7a7
commit c2d73f1d45
96 changed files with 732 additions and 587 deletions

View File

@@ -1,4 +0,0 @@
#import <Flutter/Flutter.h>
@interface ModalProgressHudNsnPlugin : NSObject<FlutterPlugin>
@end

View File

@@ -1,15 +0,0 @@
#import "ModalProgressHudNsnPlugin.h"
#if __has_include(<modal_progress_hud_nsn/modal_progress_hud_nsn-Swift.h>)
#import <modal_progress_hud_nsn/modal_progress_hud_nsn-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "modal_progress_hud_nsn-Swift.h"
#endif
@implementation ModalProgressHudNsnPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftModalProgressHudNsnPlugin registerWithRegistrar:registrar];
}
@end

View File

@@ -1,10 +1,10 @@
import Flutter
import UIKit
public class SwiftModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
public class ModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
let channel = FlutterMethodChannel(name: "modal_progress_hud_nsn", binaryMessenger: registrar.messenger())
let instance = SwiftModalProgressHudNsnPlugin()
let instance = ModalProgressHudNsnPlugin()
registrar.addMethodCallDelegate(instance, channel: channel)
}