This reverts commit cb378edc9e.
This commit is contained in:
@@ -47,7 +47,7 @@ class AutocompleteBasicExample extends StatelessWidget {
|
||||
});
|
||||
},
|
||||
onSelected: (String selection) {
|
||||
debugPrint('You just selected $selection');
|
||||
print('You just selected $selection');
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ class AutocompleteBasicUserExample extends StatelessWidget {
|
||||
});
|
||||
},
|
||||
onSelected: (User selection) {
|
||||
debugPrint('You just selected ${_displayStringForOption(selection)}');
|
||||
print('You just selected ${_displayStringForOption(selection)}');
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ class MyStatelessWidget extends StatelessWidget {
|
||||
child: InkWell(
|
||||
splashColor: Colors.blue.withAlpha(30),
|
||||
onTap: () {
|
||||
debugPrint('Card tapped.');
|
||||
print('Card tapped.');
|
||||
},
|
||||
child: const SizedBox(
|
||||
width: 300,
|
||||
|
||||
@@ -59,7 +59,7 @@ class LinkedLabelCheckbox extends StatelessWidget {
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () {
|
||||
debugPrint('Label has been tapped.');
|
||||
print('Label has been tapped.');
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
@@ -45,7 +45,7 @@ class MyStatelessWidget extends StatelessWidget {
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: () {
|
||||
debugPrint('FAB pressed.');
|
||||
print('FAB pressed.');
|
||||
},
|
||||
tooltip: 'Increment',
|
||||
child: const Icon(Icons.add),
|
||||
|
||||
@@ -34,7 +34,7 @@ class MyStatelessWidget extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return OutlinedButton(
|
||||
onPressed: () {
|
||||
debugPrint('Received click');
|
||||
print('Received click');
|
||||
},
|
||||
child: const Text('Click Me'),
|
||||
);
|
||||
|
||||
@@ -64,7 +64,7 @@ class LinkedLabelRadio extends StatelessWidget {
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () {
|
||||
debugPrint('Label has been tapped.');
|
||||
print('Label has been tapped.');
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
@@ -59,7 +59,7 @@ class LinkedLabelSwitch extends StatelessWidget {
|
||||
),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () {
|
||||
debugPrint('Label has been tapped.');
|
||||
print('Label has been tapped.');
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
@@ -54,7 +54,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
|
||||
constraints: BoxConstraints.tight(const Size(200, 50)),
|
||||
child: TextFormField(
|
||||
onSaved: (String? value) {
|
||||
debugPrint('Value for field $index saved as "$value"');
|
||||
print('Value for field $index saved as "$value"');
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user