You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/samples/display_content_of_utility_network_container/display_content_of_utility_network_container.dart
+18-26Lines changed: 18 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -94,13 +94,30 @@ class _DisplayContentOfUtilityNetworkContainerState
94
94
Widgetbuild(BuildContext context) {
95
95
returnScaffold(
96
96
body:SafeArea(
97
-
top:false,
98
97
left:false,
99
98
right:false,
100
99
child:Stack(
101
100
children: [
102
101
Column(
103
102
children: [
103
+
// Add a banner to show the results of the identify operation.
104
+
Visibility(
105
+
visible: _message.isNotEmpty,
106
+
child:Container(
107
+
padding:constEdgeInsets.all(5),
108
+
color:Colors.grey[400],
109
+
child:Row(
110
+
mainAxisAlignment:MainAxisAlignment.center,
111
+
children: [
112
+
Text(
113
+
_message,
114
+
textAlign:TextAlign.center,
115
+
style:Theme.of(context).textTheme.labelMedium,
116
+
),
117
+
],
118
+
),
119
+
),
120
+
),
104
121
Expanded(
105
122
// Add a map view to the widget tree and set a controller.
106
123
child:ArcGISMapView(
@@ -126,31 +143,6 @@ class _DisplayContentOfUtilityNetworkContainerState
126
143
),
127
144
],
128
145
),
129
-
// Add a banner to show the results of the identify operation.
130
-
SafeArea(
131
-
child:IgnorePointer(
132
-
child:Visibility(
133
-
visible: _message.isNotEmpty,
134
-
child:Container(
135
-
padding:constEdgeInsets.all(5),
136
-
color:Colors.white.withValues(alpha:0.7),
137
-
child:Row(
138
-
mainAxisAlignment:MainAxisAlignment.center,
139
-
children: [
140
-
FittedBox(
141
-
fit:BoxFit.scaleDown,
142
-
child:Text(
143
-
_message,
144
-
textAlign:TextAlign.center,
145
-
style:Theme.of(context).textTheme.labelMedium,
146
-
),
147
-
),
148
-
],
149
-
),
150
-
),
151
-
),
152
-
),
153
-
),
154
146
// Display a progress indicator and prevent interaction until state is ready.
0 commit comments