Wie protokolliere ich Daten bei der Flutterkonsole?
import 'package:flutter/foundation.dart';
debugPrint('movieTitle: $movieTitle');
Larkish
import 'package:flutter/foundation.dart';
debugPrint('movieTitle: $movieTitle');
print('counter value : $_counter');
/// 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');
}