Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
second_display
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
Dio Maulana
second_display
Commits
7baad67d
Commit
7baad67d
authored
Apr 07, 2022
by
Dio Maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu setting
parent
08befdc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
0 deletions
+108
-0
menu_setting.dart
lib/ui/settings/menu_setting.dart
+108
-0
No files found.
lib/ui/settings/menu_setting.dart
0 → 100644
View file @
7baad67d
import
'package:flutter/material.dart'
;
import
'package:second_display/helper/config.dart'
;
import
'package:second_display/ui/settings/about.dart'
;
import
'package:second_display/ui/settings/general.dart'
;
import
'../settings/input_base_url.dart'
;
class
SettingsMenu
extends
StatelessWidget
{
const
SettingsMenu
({
Key
?
key
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
const
Text
(
"Setting"
),
backgroundColor:
backgroundAppBar
,
),
body:
Container
(
margin:
EdgeInsets
.
all
(
MediaQuery
.
of
(
context
).
size
.
width
*
0.02
),
child:
Column
(
children:
[
InkWell
(
onTap:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
const
GeneralSetting
(),
),
);
},
child:
Row
(
children:
[
const
Icon
(
Icons
.
settings_applications
,
color:
Colors
.
black
,
size:
25
,
),
SizedBox
(
width:
MediaQuery
.
of
(
context
).
size
.
width
*
0.02
),
const
Text
(
"General"
,
style:
TextStyle
(
fontSize:
25
,
fontWeight:
FontWeight
.
w500
),
)
],
),
),
SizedBox
(
height:
MediaQuery
.
of
(
context
).
size
.
height
*
0.02
,
),
InkWell
(
onTap:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
const
InputBaseUrl
(),
),
);
},
child:
Row
(
children:
[
const
Icon
(
Icons
.
link
,
color:
Colors
.
black
,
size:
25
,
),
SizedBox
(
width:
MediaQuery
.
of
(
context
).
size
.
width
*
0.02
),
const
Text
(
"Base Url"
,
style:
TextStyle
(
fontSize:
25
,
fontWeight:
FontWeight
.
w500
),
)
],
),
),
SizedBox
(
height:
MediaQuery
.
of
(
context
).
size
.
height
*
0.02
,
),
InkWell
(
onTap:
()
{
Navigator
.
push
(
context
,
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=>
const
AboutSetting
(),
),
);
},
child:
Container
(
child:
Row
(
children:
[
const
Icon
(
Icons
.
android
,
color:
Colors
.
black
,
size:
25
,
),
SizedBox
(
width:
MediaQuery
.
of
(
context
).
size
.
width
*
0.02
),
const
Text
(
"About"
,
style:
TextStyle
(
fontSize:
25
,
fontWeight:
FontWeight
.
w500
),
)
],
),
),
)
],
),
),
);
}
}
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