blob: 50f2d53f85ed83aae7579744f47a2d2dcc37d8e0 [file] [log] [blame]
// Copyright 2019 The Fuchsia 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:fuchsia_inspect/inspect.dart' as inspect;
import 'package:fuchsia_modular/module.dart' as intent;
import 'package:fuchsia_inspect_flutter/inspect_flutter.dart';
import 'package:flutter/material.dart';
import 'roachGame.dart';
class RootIntentHandler extends intent.IntentHandler {
@override
void handleIntent(intent.Intent intentNode) {
var inspectNode = inspect.Inspect().root;
runApp(RoachGame(inspectNode: inspectNode));
InspectFlutter.exposeDiagnosticsTree('widgets');
}
}