insert pages

This commit is contained in:
Thinzar Win
2020-05-29 16:14:17 +06:30
parent bad27ba5c4
commit f4823d82f8
30 changed files with 1431 additions and 959 deletions

View File

@@ -9,9 +9,13 @@ import 'package:fcs/vo/manual.dart';
import 'package:fcs/widget/local_text.dart';
import 'package:fcs/widget/progress.dart';
import '../../theme/theme.dart';
import 'slide_page.dart';
class ManualPage extends StatefulWidget {
final String marketplace;
const ManualPage({Key key, this.marketplace}) : super(key: key);
@override
_ManualPageState createState() => _ManualPageState();
}
@@ -45,49 +49,8 @@ class _ManualPageState extends State<ManualPage> {
inAsyncCall: _isLoading,
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
actions: <Widget>[
mainModel.isSysAdmin()
? Row(
children: <Widget>[
Text(
versionName,
style: TextStyle(fontSize: 15, color: Colors.black),
textAlign: TextAlign.center,
),
IconButton(
icon: Icon(Icons.refresh),
color: Colors.blue,
onPressed: () {
setState(() {
manualModel.resetManualItems();
helpList =
manualModel.getHelpList(mainModel.isBuyer());
});
}),
IconButton(
icon: Icon(Icons.cloud_upload),
color: Colors.blue,
onPressed: () {
_inputManualVersion(context, manualModel);
})
],
)
: Container(),
],
iconTheme: IconThemeData(
color: Colors.grey,
),
centerTitle: true,
title: Stack(
children: <Widget>[
LocalText(
context,
"manual.title",
fontSize: 25,
),
],
),
title: Text(widget.marketplace == null ? '' : widget.marketplace),
backgroundColor: primaryColor,
),
body: Column(
children: <Widget>[