Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ChatGPT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
关振斌
ChatGPT
Commits
6de4fa33
Commit
6de4fa33
authored
Jul 21, 2023
by
netyouli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化图片作品,收藏,广场列表分页功能,图片生成界面蒙层效果
parent
69d460ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
lib/pages/ai-draw-image-result/view.dart
lib/pages/ai-draw-image-result/view.dart
+2
-2
lib/pages/ai-draw-image/text_to_image_view.dart
lib/pages/ai-draw-image/text_to_image_view.dart
+2
-3
No files found.
lib/pages/ai-draw-image-result/view.dart
View file @
6de4fa33
import
'dart:io'
;
import
'dart:typed_data'
;
import
'dart:ui'
;
...
...
@@ -7,7 +8,6 @@ import 'package:flutter/material.dart';
import
'package:flutter/src/widgets/framework.dart'
;
import
'package:get/get.dart'
;
import
'../../common/style/color.dart'
;
import
'controller.dart'
;
class
AIDrawImageResultPage
extends
GetView
<
AIDrawImageResultController
>
{
...
...
@@ -254,7 +254,7 @@ class AIDrawImageResultPage extends GetView<AIDrawImageResultController> {
const
SizedBox
(
height:
20
,),
SafeArea
(
child:
Container
(
padding:
const
EdgeInsets
.
fromLTRB
(
20
,
0
,
20
,
0
),
padding:
EdgeInsets
.
fromLTRB
(
20
,
0
,
20
,
Platform
.
isIOS
?
0
:
1
0
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
...
...
lib/pages/ai-draw-image/text_to_image_view.dart
View file @
6de4fa33
...
...
@@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
import
'package:get/get.dart'
;
import
'package:image_picker/image_picker.dart'
;
import
'package:pinput/pinput.dart'
;
import
'../../common/routers/names.dart'
;
import
'../../common/style/color.dart'
;
import
'controller.dart'
;
...
...
@@ -274,7 +273,7 @@ Widget makeSectionTitleView(String index, String name) {
},
child:
Container
(
height:
30
,
child:
Padding
(
padding:
EdgeInsets
.
fromLTRB
(
0
,
0
,
10
,
0
),
child:
Padding
(
padding:
const
EdgeInsets
.
fromLTRB
(
0
,
0
,
10
,
0
),
child:
Row
(
children:
const
[
Image
(
image:
AssetImage
(
"assets/images/jifen1.png"
,
),
width:
20
,
height:
20
,),
...
...
@@ -334,7 +333,7 @@ Widget makeSectionTitleView(String index, String name) {
style:
const
TextStyle
(
fontSize:
14
),
maxLines:
6
,
// 允许多行输入
maxLines:
Platform
.
isIOS
?
6
:
5
,
// 允许多行输入
decoration:
const
InputDecoration
(
hintText:
'请输入画面描述以短句、短语为佳、一逗号分割、支持中英文等语言输入'
,
// placeholder提示
border:
OutlineInputBorder
(
...
...
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