Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
class Box
{ T content; Box(this.content); } void main() { var intBox = Box
(100); intBox.content = 'hello'; print(intBox.content); }
main.dart:9:20: Error: A value of type 'String' can't be assigned to a variable of type 'int'.
intBox.content = 'hello';
^