基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 line
679 B

  1. import 'package:flutter/material.dart';
  2. import 'package:zhiying_comm/zhiying_comm.dart';
  3. class HomePage extends StatefulWidget {
  4. HomePage({Key key}) : super(key: key);
  5. @override
  6. _HomePageState createState() => _HomePageState();
  7. }
  8. class _HomePageState extends State<HomePage> {
  9. @override
  10. Widget build(BuildContext context) {
  11. return Scaffold(
  12. appBar: AppBar(
  13. title: Text('首页'),
  14. ),
  15. body: Container(
  16. width: double.infinity,
  17. height: double.infinity,
  18. child: Column(
  19. children: <Widget>[
  20. WidgetFactory.create('home_banner', Map<String, dynamic>())
  21. ],
  22. ),
  23. ),
  24. );
  25. }
  26. }