当前位置:网站首页>Listview in flutter application development
Listview in flutter application development
2022-07-01 01:06:00 【weixin_ thirty-eight million one hundred and seven thousand fou】
ListView Basic use of
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class ListViewPageState extends StatefulWidget {
const ListViewPageState({Key? key}) : super(key: key);
@override
_ListViewPageStateState createState() => _ListViewPageStateState();
}
class _ListViewPageStateState extends State<ListViewPageState> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("ListView"),
),
/// Used to load List layout
body: ListView(
/// Son widget The direction of
scrollDirection: Axis.vertical, // vertical direction
///scrollDirection: Axis.horizontal,
/// The parcel
shrinkWrap: true,
/// Elastic effect
physics: BouncingScrollPhysics(),
children: [
Container(color: Colors.grey,height: 84,width:400,margin: EdgeInsets.all(10),),
Container(color: Colors.grey,height: 1边栏推荐
- 什么是产品思维
- Search rotation sort array
- 初识 Flutter 的绘图组件 — CustomPaint
- Luogu p1144 shortest circuit count
- Wechat official account development (1) introduction to wechat official account
- 20220215-ctf-misc-buuctf-einstein-binwalk analyze picture-dd command separate zip file -- look for password in picture attribute
- MySQL variables, stored procedures and functions
- 2022-2028 global herbal diet tea industry research and trend analysis report
- 集群与LVS介绍及原理解析
- P4学习——Basic Tunneling
猜你喜欢

NE555 waveform generator handle tutorial NE555 internal structure (I)

Oracle-表的创建与管理

2022-2028 global encrypted external hard disk industry research and trend analysis report

Shift operators

Left join displays the specified value when the left join matching data is null

Authentication principle of Ranger plug-in

Day31-t1380-2022-02-15-not answer by yourself

P4 learning - Basic tunneling

2022-2028 global elevator emergency communication system industry research and trend analysis report

Oracle临时表详解
随机推荐
剑指 Offer 19. 正则表达式匹配
Unit test concept and purpose
New content violation degree determination scana bad information monitoring capability update issue 5
Authentication principle of Ranger plug-in
第53章 从业务逻辑实现角度整体性理解程序
Longest valid bracket
获取屏幕高度
Left join displays the specified value when the left join matching data is null
2022-2028 global 3D printing ASA consumables industry research and trend analysis report
Search rotation sort array
Ranger plug-in development (Part 2)
Tibetan poem PTA
2022-2028 global capsule shell industry research and trend analysis report
What should I do without 50W bride price
What is the difference between Pipeline and Release Pipeline in azure devops?
【原创】 PLSQL 索引排序优化
双链表:初始化 插入 删除 遍历
Mindjet mindmanager2022 mind map decompression installer tutorial
【日常记录】——对BigDecimal除法运算时遇到的Bug
ArrayList分析1-循环、扩容、版本