import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class FlowDemo extends StatefulWidget{
@override
_FlowDemoState createState()=>_FlowDemoState();
}
class _FlowDemoState extends State<FlowDemo>{
List<String> strList;
List<double> strHeightList;
@override
void initState() {
// TODO: implement initState
super.initState();
strList=List<String>();
strList.addAll(['a','b','c','d','e','f','g','h','i','j','k']);
strHeightList=List<double>();
strHeightList.addAll([100,120,110,120,100,100,110,120,100,110,120]);
}
@override
void dispose() {
// TODO: implement dispose
super.dispose();
}
@override
Widget build(BuildContext context) {
// TODO: implement build
return Scaffold(
appBar: AppBar(
title: Text('Flow简单样例&
flutter flow流布局简单样例
最新推荐文章于 2024-05-28 22:44:34 发布