blob: 4368c74c9f966a224d98224257beb32d8e83a24b [file] [log] [blame]
// Copyright 2018 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:flutter/material.dart';
import 'package:fuchsia_logger/logger.dart';
import 'package:fuchsia_modular/module.dart';
import 'package:lib.widgets.dart/model.dart';
import 'src/demo_model.dart';
import 'src/demo_widget.dart';
/// Entrypoint for the xi_session_demo mod.
/// This module is intended to demonstrate embedding a child editor mod
/// that is managed by a modular agent.
void main() {
setupLogger(name: 'session_demo');
// explicitly disable intents
DemoModel model = DemoModel();
runApp(new ScopedModel<DemoModel>(
model: model,
child: MessagesDemo(),