| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- import 'package:bbyyy/my_tools/my_views.dart';
- import 'package:bbyyy/my_tools/my_colors.dart';
- import 'package:flutter/material.dart';
- class RepresentationPage extends StatefulWidget {
- @override
- _RepresentationPageState createState() => _RepresentationPageState();
- }
- class _RepresentationPageState extends State<RepresentationPage> {
- TextEditingController _content = TextEditingController();
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: MyColors.cF7F7F7,
- body: Column(
- children: [
- MyViews().myAppBar('我要申诉', context, []),
- SingleChildScrollView(child: Column(children: [
- Container(
- margin: EdgeInsets.only(top: 10),
- color: Colors.white,
- child: Column(
- children: [
- Container(
- width: double.infinity,
- margin: EdgeInsets.only(left: 16, top: 17),
- child: Text(
- '申诉理由',
- style:
- TextStyle(color: MyColors.c333333, fontSize: 15),
- ),
- ),
- Container(
- margin: EdgeInsets.only(left: 15, right: 15, top: 17),
- constraints: BoxConstraints(minHeight: 86),
- decoration: BoxDecoration(
- border: Border.all(color: MyColors.cE7E7E7, width: 1),
- borderRadius: BorderRadius.all(
- Radius.circular(4),
- ),
- ),
- child: TextField(
- controller: _content,
- cursorColor: MyColors.cFF4233,
- cursorWidth: 1.0,
- onTap: () {},
- decoration: InputDecoration(
- border: InputBorder.none,
- disabledBorder: InputBorder.none,
- enabledBorder: InputBorder.none,
- focusedBorder: InputBorder.none,
- isDense: true,
- hintText: '请输入申诉理由…',
- hintStyle: TextStyle(
- color: MyColors.c999999, fontSize: 14),
- contentPadding:
- const EdgeInsets.fromLTRB(14, 4.5, 8, 4.5),
- ),
- style: TextStyle(
- color: MyColors.c333333,
- fontSize: 14,
- height: 1.3,
- letterSpacing: 0.2),
- keyboardType: TextInputType.text,
- onChanged: (t) {},
- ),
- ),
- Container(
- width: double.infinity,
- margin: EdgeInsets.only(left: 16, top: 17),
- child: Text(
- '证据图片',
- style:
- TextStyle(color: MyColors.c333333, fontSize: 15),
- ),
- ),
- Container(
- margin: EdgeInsets.only(
- left: 15, right: 15, bottom: 17, top: 18),
- child: Row(
- children: [
- Container(
- height: 102,
- width: 102,
- decoration: BoxDecoration(
- color: MyColors.cF0F0F0,
- borderRadius:
- BorderRadius.all(Radius.circular(4))),
- child: Icon(
- Icons.add,
- color: MyColors.cB6B6B6,
- size: 44,
- ),
- ),
- Container(
- height: 102,
- width: 102,
- decoration: BoxDecoration(
- color: MyColors.cF0F0F0,
- borderRadius:
- BorderRadius.all(Radius.circular(4))),
- child: Icon(
- Icons.add,
- color: MyColors.cB6B6B6,
- size: 44,
- ),
- ),
- Container(
- height: 102,
- width: 102,
- decoration: BoxDecoration(
- color: MyColors.cF0F0F0,
- borderRadius:
- BorderRadius.all(Radius.circular(4))),
- child: Icon(
- Icons.add,
- color: MyColors.cB6B6B6,
- size: 44,
- ),
- )
- ],
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- ),
- ),
- ],
- ),
- ),
- Container(
- color: Colors.white,
- margin: EdgeInsets.only(top: 10),
- height: 50,
- child: MyViews().myText('确 定', MyColors.cFF4233, 16),
- alignment: Alignment.center,
- )
- ],),),
- ],
- ),
- );
- }
- }
|