File tree 7 files changed +19
-99
lines changed
7 files changed +19
-99
lines changed Original file line number Diff line number Diff line change 1
- #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2
1
#include "Generated.xcconfig"
Original file line number Diff line number Diff line change 1
- #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2
1
#include "Generated.xcconfig"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# This is a generated file; do not edit or check into version control.
3
- export " FLUTTER_ROOT=/Users/wanwu/program/ flutter"
4
- export " FLUTTER_APPLICATION_PATH=/Users/wanwu/Desktop/code/yy/test/flutter_custom_dialog/ example"
5
- export " FLUTTER_TARGET=lib/ main.dart"
3
+ export " FLUTTER_ROOT=C:\FlutterSDK\ flutter"
4
+ export " FLUTTER_APPLICATION_PATH=C:\YYLive4-OpenSource\flutter-custom-dialog\ example"
5
+ export " FLUTTER_TARGET=lib\ main.dart"
6
6
export " FLUTTER_BUILD_DIR=build"
7
- export " SYMROOT=${SOURCE_ROOT} /../build/ ios"
8
- export " FLUTTER_FRAMEWORK_DIR=/Users/wanwu/program/ flutter/ bin/ cache/ artifacts/ engine/ ios"
7
+ export " SYMROOT=${SOURCE_ROOT} /../build\ ios"
8
+ export " FLUTTER_FRAMEWORK_DIR=C:\FlutterSDK\ flutter\ bin\ cache\ artifacts\ engine\ ios"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 34
34
.tags *
35
35
36
36
/Flutter /Generated.xcconfig
37
- /Flutter /flutter_export_environment.sh
Original file line number Diff line number Diff line change 1
1
#import " FlutterCustomDialogPlugin.h"
2
- #import < flutter_custom_dialog/flutter_custom_dialog-Swift.h>
3
2
4
3
@implementation FlutterCustomDialogPlugin
5
4
+ (void )registerWithRegistrar : (NSObject <FlutterPluginRegistrar>*)registrar {
6
- [SwiftFlutterCustomDialogPlugin registerWithRegistrar: registrar];
5
+ FlutterMethodChannel* channel = [FlutterMethodChannel
6
+ methodChannelWithName: @" flutter_custom_dialog"
7
+ binaryMessenger: [registrar messenger ]];
8
+ FlutterCustomDialogPlugin* instance = [[FlutterCustomDialogPlugin alloc ] init ];
9
+ [registrar addMethodCallDelegate: instance channel: channel];
7
10
}
11
+
12
+ - (void )handleMethodCall : (FlutterMethodCall*)call result : (FlutterResult)result {
13
+ if ([@" getPlatformVersion" isEqualToString: call.method]) {
14
+ result ([@" iOS " stringByAppendingString: [[UIDevice currentDevice ] systemVersion ]]);
15
+ } else {
16
+ result (FlutterMethodNotImplemented);
17
+ }
18
+ }
19
+
8
20
@end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments