@@ -61,23 +61,18 @@ class _NavigationState extends State<Navigation> {
6161 focusNode: focusNodes[0 ],
6262 titleText: "" ,
6363 bodyText: '' ,
64- overlayColor: Colors .black.withOpacity (0.7 ),
65- overlayShape: const RoundedRectangleBorder (),
6664 overlayBehavior: HitTestBehavior .deferToChild,
6765 stepBuilder: (context, renderInfo) {
6866 return Scaffold (
6967 backgroundColor: Colors .transparent,
70- body: SingleChildScrollView (
71- child: Center (
68+ body: Center (
7269 child: Container (
7370 width: MediaQuery .of (context).size.width,
7471 height: MediaQuery .of (context).size.height,
7572 padding: const EdgeInsets .all (25 ),
7673 decoration: BoxDecoration (
77- color: const Color (0xFF121212 ),
78- border: Border .all (color: const Color (0xFF4CAF50 )),
74+ color: const Color (0x80000020 )
7975 ),
80- child: SingleChildScrollView (
8176 child: Column (
8277 crossAxisAlignment: CrossAxisAlignment .start,
8378 children: [
@@ -100,14 +95,14 @@ class _NavigationState extends State<Navigation> {
10095 ),
10196 buildGuideStep (
10297 'Long Press to mark present again' ,
103- 'assets/present.png' , // Make sure the path is correct.
98+ 'assets/present.png' ,
10499 ),
105100 const SizedBox (height: 20 ),
106101 Center (
107102 child: ElevatedButton (
108- onPressed: renderInfo.close, // Close the guide
103+ onPressed: renderInfo.close,
109104 style: ElevatedButton .styleFrom (
110- backgroundColor: Color (0xFF4CAF50 ),
105+ backgroundColor: const Color (0xFF4CAF50 ),
111106 ),
112107 child: const Text (
113108 "close" ,
@@ -122,9 +117,7 @@ class _NavigationState extends State<Navigation> {
122117 ],
123118 ),
124119 ),
125- ),
126- ),
127- ),
120+ )
128121 );
129122 },
130123 ),
0 commit comments