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
b4412ef6
Commit
b4412ef6
authored
Jul 10, 2023
by
关振斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: uikit
parent
53a4b750
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
83 deletions
+86
-83
ios/Runner/Info.plist
ios/Runner/Info.plist
+3
-0
lib/common/widgets/app.dart
lib/common/widgets/app.dart
+2
-1
lib/pages/application/view.dart
lib/pages/application/view.dart
+78
-78
lib/pages/home/view.dart
lib/pages/home/view.dart
+3
-4
No files found.
ios/Runner/Info.plist
View file @
b4412ef6
...
...
@@ -72,10 +72,13 @@
<string>
Main
</string>
<key>
UISupportedInterfaceOrientations
</key>
<array>
<string>
UIInterfaceOrientationLandscapeLeft
</string>
<string>
UIInterfaceOrientationLandscapeRight
</string>
<string>
UIInterfaceOrientationPortrait
</string>
</array>
<key>
UISupportedInterfaceOrientations~ipad
</key>
<array>
<string>
UIInterfaceOrientationLandscapeLeft
</string>
<string>
UIInterfaceOrientationLandscapeRight
</string>
<string>
UIInterfaceOrientationPortrait
</string>
<string>
UIInterfaceOrientationPortraitUpsideDown
</string>
...
...
lib/common/widgets/app.dart
View file @
b4412ef6
...
...
@@ -9,7 +9,8 @@ AppBar transparentAppBar({
List
<
Widget
>?
actions
,
})
{
return
AppBar
(
backgroundColor:
Color
.
fromARGB
(
0
,
0
,
0
,
0
),
// Color.argb(255, 28, 28, 30)
backgroundColor:
Color
.
fromARGB
(
255
,
28
,
28
,
30
),
// elevation: 2,
title:
title
,
elevation:
0
,
...
...
lib/pages/application/view.dart
View file @
b4412ef6
...
...
@@ -117,7 +117,8 @@ class ApplicationPage extends GetView<ApplicationController> {
return
Obx
(()
=>
BottomNavigationBar
(
// #363b48
backgroundColor:
Color
.
fromARGB
(
120
,
0
,
0
,
0
),
// Color.fromARGB(255, 28, 28, 30)
backgroundColor:
Color
.
fromARGB
(
255
,
28
,
28
,
30
),
//
// Color.fromARGB(255, 54, 59, 72),
// Color.argb(255, 82, 88, 103)
...
...
@@ -142,26 +143,27 @@ class ApplicationPage extends GetView<ApplicationController> {
final
homeController
=
Get
.
find
<
HomeController
>();
return
AnimatedAlign
(
duration:
Duration
(
milliseconds:
300
),
alignment:
controller
.
state
.
showBottomMenu
?
Alignment
.
bottomCenter
:
const
Alignment
(
0
,
2
),
alignment:
controller
.
state
.
showBottomMenu
?
Alignment
.
bottomCenter
:
const
Alignment
(
0
,
2
),
child:
Container
(
height:
180
,
padding:
const
EdgeInsets
.
fromLTRB
(
20
,
20
,
20
,
100
),
decoration:
BoxDecoration
(
color:
Colors
.
black
.
withAlpha
(
180
),
borderRadius:
const
BorderRadius
.
all
(
Radius
.
circular
(
20
))
),
borderRadius:
const
BorderRadius
.
all
(
Radius
.
circular
(
20
))),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
Expanded
(
child:
Container
(
Expanded
(
child:
Container
(
height:
44
,
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
22
),
gradient:
LinearGradient
(
begin:
Alignment
.
topCenter
,
end:
Alignment
.
bottomCenter
,
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
),
),
child:
TextButton
(
...
...
@@ -172,8 +174,7 @@ class ApplicationPage extends GetView<ApplicationController> {
style:
TextStyle
(
color:
Colors
.
white
),
),
),
))
),
))),
SizedBox
(
width:
30
),
Expanded
(
child:
Container
(
...
...
@@ -183,7 +184,7 @@ class ApplicationPage extends GetView<ApplicationController> {
gradient:
LinearGradient
(
begin:
Alignment
.
topCenter
,
end:
Alignment
.
bottomCenter
,
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
),
),
child:
TextButton
(
...
...
@@ -194,8 +195,7 @@ class ApplicationPage extends GetView<ApplicationController> {
style:
TextStyle
(
color:
Colors
.
white
),
),
),
))
),
))),
SizedBox
(
width:
30
),
Expanded
(
child:
Container
(
...
...
@@ -205,7 +205,7 @@ class ApplicationPage extends GetView<ApplicationController> {
gradient:
LinearGradient
(
begin:
Alignment
.
topCenter
,
end:
Alignment
.
bottomCenter
,
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
colors:
[
Color
(
0xFFbe6afb
),
Color
(
0xFF7965f8
)],
),
),
child:
TextButton
(
...
...
@@ -216,8 +216,7 @@ class ApplicationPage extends GetView<ApplicationController> {
style:
TextStyle
(
color:
Colors
.
white
),
),
),
))
),
))),
],
),
),
...
...
@@ -233,9 +232,10 @@ class ApplicationPage extends GetView<ApplicationController> {
children:
[
Container
(
decoration:
BoxDecoration
(
image:
DecorationImage
(
image:
Image
.
asset
(
"assets/images/background.png"
).
image
,
fit:
BoxFit
.
cover
),
color:
Color
.
fromARGB
(
255
,
28
,
28
,
30
),
// image: DecorationImage(
// image: Image.asset("assets/images/background.png").image,
// fit: BoxFit.cover),
),
child:
Scaffold
(
// resizeToAvoidBottomInset: false,
...
...
lib/pages/home/view.dart
View file @
b4412ef6
...
...
@@ -47,11 +47,9 @@ class _HomePageState extends State<_HomePage>
HomeController
get
controller
=>
Get
.
find
<
HomeController
>();
@override
Widget
build
(
BuildContext
context
)
{
final
cc
=
controller
;
//Get.put(HomeController());
final
cc
=
controller
;
//Get.put(HomeController());
return
Obx
(()
=>
Scaffold
(
resizeToAvoidBottomInset:
false
,
backgroundColor:
Color
.
fromARGB
(
0
,
0
,
0
,
0
),
...
...
@@ -195,7 +193,8 @@ class _HomePageState extends State<_HomePage>
isTextInput:
cc
.
state
.
isInputText
,
inputTextStyle:
TextStyle
(
color:
Colors
.
white
),
inputToolbarStyle:
BoxDecoration
(
color:
Color
.
fromARGB
(
120
,
0
,
0
,
0
),
// 255, 28, 28, 30
color:
Color
.
fromARGB
(
255
,
28
,
28
,
30
),
// Color.fromARGB(0, 54, 59, 72),
borderRadius:
BorderRadius
.
only
(
...
...
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