Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROG2900
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sara Savanovic Djordjevic
PROG2900
Commits
53a8ab44
Commit
53a8ab44
authored
1 year ago
by
Sara Savanovic Djordjevic
Browse files
Options
Downloads
Patches
Plain Diff
update: arrow icon and transparency
parent
4ff84b82
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/lib/pages/widgets/map_widget.dart
+4
-4
4 additions, 4 deletions
app/lib/pages/widgets/map_widget.dart
with
4 additions
and
4 deletions
app/lib/pages/widgets/map_widget.dart
+
4
−
4
View file @
53a8ab44
...
@@ -80,14 +80,14 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
...
@@ -80,14 +80,14 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
child:
Container
(
child:
Container
(
width:
(
screenWidth
*
boxWidth
)
/
2.4
,
width:
(
screenWidth
*
boxWidth
)
/
2.4
,
height:
isMinimized
?
20
:
(
screenWidth
*
boxWidth
)
/
2.4
,
height:
isMinimized
?
20
:
(
screenWidth
*
boxWidth
)
/
2.4
,
color:
darkBlue
,
color:
Colors
.
blue
.
withOpacity
(
0.7
)
,
child:
Stack
(
child:
Stack
(
children:
[
children:
[
Visibility
(
// Content only visible when box is maximized
Visibility
(
// Content only visible when box is maximized
visible:
!
isMinimized
&&
selectedMarker
!=
null
,
visible:
!
isMinimized
&&
selectedMarker
!=
null
,
child:
Center
(
child:
Center
(
child:
Padding
(
child:
Padding
(
padding:
const
EdgeInsets
.
only
(
right:
1
4
.0
,
top:
1
4
.0
),
padding:
const
EdgeInsets
.
only
(
right:
1
6
.0
,
top:
1
7
.0
),
child:
SizedBox
(
child:
SizedBox
(
width:
(
screenWidth
*
boxWidth
)
/
2.3
,
width:
(
screenWidth
*
boxWidth
)
/
2.3
,
height:
(
screenWidth
*
boxWidth
)
/
2.3
,
height:
(
screenWidth
*
boxWidth
)
/
2.3
,
...
@@ -97,7 +97,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
...
@@ -97,7 +97,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
),
),
),
),
Positioned
(
Positioned
(
top:
isMinimized
?
0
:
5
,
top:
0
,
right:
5
,
right:
5
,
child:
GestureDetector
(
child:
GestureDetector
(
onTap:
()
{
onTap:
()
{
...
@@ -105,7 +105,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
...
@@ -105,7 +105,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
isMinimized
=
!
isMinimized
;
// Toggle the minimized state
isMinimized
=
!
isMinimized
;
// Toggle the minimized state
});
});
},
},
child:
Icon
(
isMinimized
?
Icons
.
arrow_
upward
:
Icons
.
arrow_d
ownward
),
child:
Icon
(
isMinimized
?
Icons
.
arrow_
drop_up
:
Icons
.
arrow_d
rop_down
),
),
),
),
),
],
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment