| 1234567891011121314151617181920212223 |
- import 'package:flutter/material.dart';
- import 'package:jmrh/constant/styles.dart';
- import 'package:jmrh/widget/item_qa.dart';
- class QaList extends StatefulWidget {
- QaList({Key key}) : super(key: key);
- @override
- _QaListState createState() => _QaListState();
- }
- class _QaListState extends State<QaList> {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: appBarLight('官方问答'),
- body: ListView.separated(
- itemBuilder: (context, index) => ItemQa(),
- separatorBuilder: (context, index) => Divider(indent: 16, endIndent: 16, height: 1),
- itemCount: 10),
- );
- }
- }
|