@@ -58,8 +58,8 @@ class PlatformPage extends StatelessWidget {
5858 'PlatformSearchBar ${isMaterial (context ) ? " (Material 3 only)" : "" }' ,
5959 builder: (context, platform) => PlatformSearchBar (
6060 onChanged: (value) =>
61- print ('${platform .text } SearchBar changed: $value ' ),
62- onTap: () => print ('${platform .text } SearchBar tapped' ),
61+ debugPrint ('${platform .text } SearchBar changed: $value ' ),
62+ onTap: () => debugPrint ('${platform .text } SearchBar tapped' ),
6363 hintText: '${platform .text } SearchBar' ,
6464 ),
6565 ),
@@ -71,7 +71,7 @@ class PlatformPage extends StatelessWidget {
7171 title: PlatformText ('title' ),
7272 subtitle: PlatformText ('subtitle' ),
7373 trailing: Icon (context.platformIcons.rightChevron),
74- onTap: () => print ('${platform .text } PlatformListTile' ),
74+ onTap: () => debugPrint ('${platform .text } PlatformListTile' ),
7575 ),
7676 ),
7777 // ! PlatformText
@@ -147,7 +147,7 @@ class PlatformPage extends StatelessWidget {
147147 title: 'PlatformElevatedButton' ,
148148 builder: (_, platform) => PlatformElevatedButton (
149149 child: Text (platform.text),
150- onPressed: () => print ('${platform .text } PlatformButton' ),
150+ onPressed: () => debugPrint ('${platform .text } PlatformButton' ),
151151 padding: const EdgeInsets .all (8 ),
152152 color: Colors .orange,
153153 ),
@@ -156,7 +156,7 @@ class PlatformPage extends StatelessWidget {
156156 title: 'PlatformElevatedButton Icon' ,
157157 builder: (_, platform) => PlatformElevatedButton (
158158 child: Text (platform.text),
159- onPressed: () => print ('${platform .text } PlatformButton' ),
159+ onPressed: () => debugPrint ('${platform .text } PlatformButton' ),
160160 padding: const EdgeInsets .all (8 ),
161161 material: (_, __) => MaterialElevatedButtonData (
162162 icon: const Icon (Icons .home),
@@ -171,15 +171,15 @@ class PlatformPage extends StatelessWidget {
171171 title: 'PlatformTextButton' ,
172172 builder: (_, platform) => PlatformTextButton (
173173 child: Text (platform.text),
174- onPressed: () => print ('${platform .text } PlatformButton' ),
174+ onPressed: () => debugPrint ('${platform .text } PlatformButton' ),
175175 padding: const EdgeInsets .all (8 ),
176176 ),
177177 ),
178178 PlatformWidgetExample (
179179 title: 'PlatformTextButton Icon' ,
180180 builder: (_, platform) => PlatformTextButton (
181181 child: Text (platform.text),
182- onPressed: () => print ('${platform .text } PlatformButton' ),
182+ onPressed: () => debugPrint ('${platform .text } PlatformButton' ),
183183 padding: const EdgeInsets .all (8 ),
184184 material: (_, __) => MaterialTextButtonData (
185185 icon: const Icon (Icons .home),
@@ -258,11 +258,11 @@ class PlatformPage extends StatelessWidget {
258258 builder: (_, platform) => PlatformWidgetBuilder (
259259 cupertino: (_, child, __) => GestureDetector (
260260 child: child,
261- onTap: () => print ('Cupertino PlatformWidgetBuilder' ),
261+ onTap: () => debugPrint ('Cupertino PlatformWidgetBuilder' ),
262262 ),
263263 material: (_, child, __) => InkWell (
264264 child: child,
265- onTap: () => print ('Material PlatformWidgetBuilder' ),
265+ onTap: () => debugPrint ('Material PlatformWidgetBuilder' ),
266266 ),
267267 child: Container (
268268 padding: const EdgeInsets .all (12 ),
0 commit comments