Check out example codes for "print flutter objects". It will help you in understanding the concepts better.

Code Example 1

/// since Dart 3.12 you can use `inspect` 
inspect(object)

Code Example 2

print('counter value : $_counter');

Code Example 3

import 'package:flutter/foundation.dart';

debugPrint('movieTitle: $movieTitle');

Learn ReactJs, React Native from akashmittal.com