import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:ysairplane/base/YSBase.dart'; class YSFeedback extends StatefulWidget { @override _YSFeedbackState createState() => _YSFeedbackState(); } class _YSFeedbackState extends State { List array = ['选择1','选择2','选择3']; @override Widget build(BuildContext context) { return YSBase( ystitle: '意见反馈', yschild: Column( children: [ Divider(height: 5,thickness: 5,color: Color(0xFFF5F6F8),), Container( height: 50, padding: EdgeInsets.only(left: 15,right: 15), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text('意见反馈类型',style: TextStyle(fontSize: 16,color: Color(0xFF000000)),), DropdownButton( value: '${array[0]}', items: [ for(int i=0;i