Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- import 'package:flutter_app/main1.dart';
- /**
- * 电影海报 2019年9月5日15:40:45
- */
- void main() => runApp(MyApp());
- class MyApp extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- // TODO: implement build
- return MaterialApp(
- title: '电影海报实例',
- home: Scaffold(
- appBar: new AppBar(
- title: Text('海报实例'),
- ),
- body: GridView.count(
- crossAxisCount: 3, // 列数
- padding: EdgeInsets.all(10.0),
- crossAxisSpacing: 10.0,
- children: <Widget>[],
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement