blob: 26dba545b926175d93b5c294918d79b2dc552546 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
class MyApp extends StatefulWidget {
MyAppState createState() => MyAppState();
class MyAppState extends State<MyApp> {
String kMessage = 'ABC';
Widget build(BuildContext context) {
// cause cast error.
print(kMessage as int);
return Text('Hello');