Console.log in Flutter - Flutter tips

To Console.log on flutter there are two ways we can do that.

First, We can use the debugPrint  from foundation

import'package:flutter/foundation.dart';
debugPrint('movieTitle: $movieTitle');

and secondly we can use log() from flutter built in dependcy

import 'dart:developer';
log('data: $data');