blob: 3d6ffa59faef393af72f72c0d8b88f42ac2a3a31 [file] [log] [blame]
// Copyright 2014 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.
library component1;
import 'package:flutter/material.dart';
class LogoScreen extends StatelessWidget {
const LogoScreen({Key? key}) : super(key: key);
static const String _testSentinel = 'Running deferred code';
@override
Widget build(BuildContext context) {
print(_testSentinel);
return Container(
child: Column(
children: <Widget>[
const Text('DeferredWidget', key: Key('DeferredWidget')),
Image.asset('customassets/flutter_logo.png', key: const Key('DeferredImage')),
]
),
padding: const EdgeInsets.all(25),
color: Colors.blue,
);
}
}