@@ -4,8 +4,6 @@ import 'package:provider/provider.dart';
44import 'package:tree_planting_protocol/providers/mint_nft_provider.dart' ;
55import 'package:tree_planting_protocol/utils/constants/route_constants.dart' ;
66import 'package:tree_planting_protocol/widgets/basic_scaffold.dart' ;
7- import 'package:tree_planting_protocol/widgets/map_widgets/flutter_map_widget.dart' ;
8- import 'package:tree_planting_protocol/widgets/nft_display_utils/tree_NFT_view_widget.dart' ;
97import 'package:tree_planting_protocol/widgets/nft_display_utils/tree_nft_view_details_with_map.dart' ;
108
119class MintNftDetailsPage extends StatefulWidget {
@@ -103,14 +101,14 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
103101 begin: Alignment .topLeft,
104102 end: Alignment .bottomRight,
105103 colors: [
106- const Color (0xFF1CD381 ). withOpacity ( 0.05 ) ,
107- const Color (0xFFFAEB96 ). withOpacity ( 0.1 ) ,
104+ const Color (0xFF1CD381 ),
105+ const Color (0xFFFAEB96 ),
108106 ],
109107 ),
110108 borderRadius: BorderRadius .circular (24 ),
111109 boxShadow: [
112110 BoxShadow (
113- color: const Color (0xFF1CD381 ). withOpacity ( 0.15 ) ,
111+ color: const Color (0xFF1CD381 ),
114112 blurRadius: 20 ,
115113 offset: const Offset (0 , 8 ),
116114 ),
@@ -126,7 +124,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
126124 gradient: LinearGradient (
127125 colors: [
128126 const Color (0xFF1CD381 ),
129- const Color (0xFF1CD381 ). withOpacity ( 0.8 ) ,
127+ const Color (0xFF1CD381 ),
130128 ],
131129 ),
132130 borderRadius: const BorderRadius .only (
@@ -139,7 +137,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
139137 Container (
140138 padding: const EdgeInsets .all (12 ),
141139 decoration: BoxDecoration (
142- color: Colors .white. withOpacity ( 0.2 ) ,
140+ color: Colors .white,
143141 borderRadius: BorderRadius .circular (14 ),
144142 ),
145143 child: const Icon (
@@ -208,7 +206,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
208206 shape: RoundedRectangleBorder (
209207 borderRadius: BorderRadius .circular (16 ),
210208 ),
211- shadowColor: const Color (0xFF1CD381 ). withOpacity ( 0.3 ) ,
209+ shadowColor: const Color (0xFF1CD381 ),
212210 ),
213211 child: Row (
214212 mainAxisAlignment: MainAxisAlignment .center,
@@ -224,7 +222,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
224222 Container (
225223 padding: const EdgeInsets .all (4 ),
226224 decoration: BoxDecoration (
227- color: Colors .white. withOpacity ( 0.2 ) ,
225+ color: Colors .white,
228226 borderRadius: BorderRadius .circular (6 ),
229227 ),
230228 child: const Icon (
@@ -260,7 +258,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
260258 Container (
261259 padding: const EdgeInsets .all (6 ),
262260 decoration: BoxDecoration (
263- color: const Color (0xFF1CD381 ). withOpacity ( 0.1 ) ,
261+ color: const Color (0xFF1CD381 ),
264262 borderRadius: BorderRadius .circular (8 ),
265263 ),
266264 child: Icon (
@@ -286,12 +284,12 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
286284 color: Colors .white,
287285 borderRadius: BorderRadius .circular (16 ),
288286 border: Border .all (
289- color: const Color (0xFFFAEB96 ). withOpacity ( 0.5 ) ,
287+ color: const Color (0xFFFAEB96 ),
290288 width: 2 ,
291289 ),
292290 boxShadow: [
293291 BoxShadow (
294- color: const Color (0xFF1CD381 ). withOpacity ( 0.05 ) ,
292+ color: const Color (0xFF1CD381 ),
295293 blurRadius: 8 ,
296294 offset: const Offset (0 , 2 ),
297295 ),
@@ -337,7 +335,7 @@ class _MintNftCoordinatesPageState extends State<MintNftDetailsPage> {
337335 Container (
338336 padding: const EdgeInsets .all (8 ),
339337 decoration: BoxDecoration (
340- color: const Color (0xFFFAEB96 ). withOpacity ( 0.3 ) ,
338+ color: const Color (0xFFFAEB96 ),
341339 borderRadius: BorderRadius .circular (10 ),
342340 ),
343341 child: Icon (
0 commit comments