mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-05 05:43:18 +00:00
Add API class
- Secure token based on username/password
This commit is contained in:
parent
f747692277
commit
3258903745
5 changed files with 133 additions and 2 deletions
36
lib/settings.dart
Normal file
36
lib/settings.dart
Normal 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() {
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue