Commit 730145ee by Zac Chan

Clean up code

parent 7943c582
......@@ -45,7 +45,6 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
NSNumber *textcolor = call.arguments[@"textcolor"];
NSNumber *size = call.arguments[@"size"];
NSNumber *fontSize = call.arguments[@"fontSize"];
double fontSizeDouble = [fontSize doubleValue];
int time = 1;
@try {
......
......@@ -25,12 +25,9 @@ class Fluttertoast {
Fluttertoast._create(){
// _channel.setMethodCallHandler(_handleMethod);
}
// Function(bool) didTap;
Future<bool> showToast({
@required String msg,
Toast toastLength,
......@@ -76,13 +73,4 @@ class Fluttertoast {
return res;
}
// Future<dynamic> _handleMethod(MethodCall call) async {
// switch(call.method) {
// case "onTap":
// didTap(true);
// return new Future.value("");
// }
// }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment