Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gmalpha_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile
gmalpha_flutter
Commits
53c641c5
Commit
53c641c5
authored
May 23, 2019
by
jinzhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update flutter
parent
dc75c4e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
input_invite_code_page.dart
lib/input_invite_code_page.dart
+20
-2
DioUtil.dart
lib/netWork/DioUtil.dart
+1
-1
No files found.
lib/input_invite_code_page.dart
View file @
53c641c5
...
@@ -60,6 +60,23 @@ class InputInviteCodeContent extends StatelessWidget {
...
@@ -60,6 +60,23 @@ class InputInviteCodeContent extends StatelessWidget {
GestureDetector
(
GestureDetector
(
onLongPress:
()
{
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
(
child:
Container
(
color:
Colors
.
white
,
color:
Colors
.
white
,
...
@@ -413,6 +430,7 @@ abstract class InputBorder extends UnderlineInputBorder {
...
@@ -413,6 +430,7 @@ abstract class InputBorder extends UnderlineInputBorder {
textTrueWidth
=
p
.
minIntrinsicWidth
;
textTrueWidth
=
p
.
minIntrinsicWidth
;
}
}
}
}
=======
// import 'package:flutter/material.dart';
// import 'package:flutter/material.dart';
// import 'dart:ui' as ui;
// import 'dart:ui' as ui;
// import 'package:flutter/services.dart';
// import 'package:flutter/services.dart';
...
@@ -844,4 +862,5 @@ abstract class InputBorder extends UnderlineInputBorder {
...
@@ -844,4 +862,5 @@ abstract class InputBorder extends UnderlineInputBorder {
// ..layout(ui.ParagraphConstraints(width: double.infinity));
// ..layout(ui.ParagraphConstraints(width: double.infinity));
// textTrueWidth = p.minIntrinsicWidth;
// textTrueWidth = p.minIntrinsicWidth;
// }
// }
// }
// }
\ No newline at end of file
>>>>>>>
dev
lib/netWork/DioUtil.dart
View file @
53c641c5
...
@@ -438,7 +438,7 @@ class DioUtil {
...
@@ -438,7 +438,7 @@ class DioUtil {
options
.
connectTimeout
=
10
*
1000
;
options
.
connectTimeout
=
10
*
1000
;
options
.
receiveTimeout
=
20
*
1000
;
options
.
receiveTimeout
=
20
*
1000
;
options
.
contentType
=
ContentType
.
parse
(
'application/x-www-form-urlencoded'
);
options
.
contentType
=
ContentType
.
parse
(
'application/x-www-form-urlencoded'
);
options
.
baseUrl
=
'http
s://earth.iyanzhi
.com/'
;
options
.
baseUrl
=
'http
://earth.gmapp
.com/'
;
Map
<
String
,
dynamic
>
headers
=
Map
<
String
,
dynamic
>();
Map
<
String
,
dynamic
>
headers
=
Map
<
String
,
dynamic
>();
headers
[
'Accept'
]
=
'application/json'
;
headers
[
'Accept'
]
=
'application/json'
;
return
options
;
return
options
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment