flutter print

41

import 'package:flutter/foundation.dart';

debugPrint('movieTitle: $movieTitle');
/// since Dart 3.12 you can use `inspect` 
inspect(object) 
import 'dart:html';

main() {
  var value = querySelector('input').value;
  print('The value of the input is: $value');
}
void main() {
    var test = "test";
    print('test = $test');
}

Comments

Submit
0 Comments