insert pages
This commit is contained in:
@@ -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>[
|
||||
|
||||
Reference in New Issue
Block a user