Commit 53c641c5 authored by jinzhu's avatar jinzhu

update flutter

parent dc75c4e3
......@@ -60,6 +60,23 @@ class InputInviteCodeContent extends StatelessWidget {
GestureDetector(
onLongPress: () {
// print("长按------------");
// showDialog(
// context: context,
// builder: (context) {
// return SimpleDialog(children: <Widget>[
// ListTile(
// title: Text("粘贴",style: TextStyle(),),
// onTap: () {
// Future<ClipboardData> data =
// Clipboard.getData('text/plain');
// data.then((value) {
// inviteCodeNotifierData.value = value.text;
// });
// Navigator.of(context).pop();
// })
// ]);
// });
},
child: Container(
color: Colors.white,
......@@ -413,6 +430,7 @@ abstract class InputBorder extends UnderlineInputBorder {
textTrueWidth = p.minIntrinsicWidth;
}
}
=======
// import 'package:flutter/material.dart';
// import 'dart:ui' as ui;
// import 'package:flutter/services.dart';
......@@ -844,4 +862,5 @@ abstract class InputBorder extends UnderlineInputBorder {
// ..layout(ui.ParagraphConstraints(width: double.infinity));
// textTrueWidth = p.minIntrinsicWidth;
// }
// }
\ No newline at end of file
// }
>>>>>>> dev
......@@ -438,7 +438,7 @@ class DioUtil {
options.connectTimeout = 10 * 1000;
options.receiveTimeout = 20 * 1000;
options.contentType = ContentType.parse('application/x-www-form-urlencoded');
options.baseUrl = 'https://earth.iyanzhi.com/';
options.baseUrl = 'http://earth.gmapp.com/';
Map<String, dynamic> headers = Map<String, dynamic>();
headers['Accept'] = 'application/json';
return options;
......
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