2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 12:15:31 +00:00

Add API class

- Secure token based on username/password
This commit is contained in:
Oliver Walters
2019-06-25 00:39:20 +10:00
parent f747692277
commit 3258903745
5 changed files with 133 additions and 2 deletions

36
lib/settings.dart Normal file
View File

@ -0,0 +1,36 @@
import 'package:flutter/material.dart';
class InvenTreeSettingsWidget extends StatefulWidget {
// InvenTree settings view
@override
_InvenTreeSettingsState createState() => _InvenTreeSettingsState();
}
class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("InvenTree Settings"),
),
body: Center(
child: ListView(
children: <Widget>[
ListTile(
title: Text("Server Settings"),
subtitle: Text("Configure server and login settings"),
onTap: _editServerSettings,
),
],
)
)
);
}
void _editServerSettings() {
}
}