|
1234567891011121314151617181920212223242526272829 |
- import 'package:flutter/material.dart';
- import 'package:zhiying_comm/zhiying_comm.dart';
-
- class HomePage extends StatefulWidget {
- HomePage({Key key}) : super(key: key);
-
- @override
- _HomePageState createState() => _HomePageState();
- }
-
- class _HomePageState extends State<HomePage> {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- title: Text('首页'),
- ),
- body: Container(
- width: double.infinity,
- height: double.infinity,
- child: Column(
- children: <Widget>[
- WidgetFactory.create('home_banner', Map<String, dynamic>())
- ],
- ),
- ),
- );
- }
- }
|