8ea2b97c27
- Added tab navigation for profile, database, users, suggestions, and AI sections. - Implemented database management with inventory, pantry, and products tabs. - Created Admin AI panel to display AI model information. - Introduced Admin Pending Products panel for managing product approvals. - Developed Admin Users panel for user management, including role changes and password resets. - Added data models for AI models and pending products.
24 lines
588 B
Dart
24 lines
588 B
Dart
import 'package:flutter/material.dart';
|
||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||
import 'admin_users_panel.dart';
|
||
|
||
class AdminScreen extends ConsumerStatefulWidget {
|
||
const AdminScreen({super.key});
|
||
|
||
@override
|
||
ConsumerState<AdminScreen> createState() => _AdminScreenState();
|
||
}
|
||
|
||
class _AdminScreenState extends ConsumerState<AdminScreen> {
|
||
@override
|
||
Widget build(BuildContext context) {
|
||
return Scaffold(
|
||
appBar: AppBar(
|
||
title: const Text('Admin – Användare'),
|
||
),
|
||
body: const AdminUsersPanel(),
|
||
);
|
||
}
|
||
}
|
||
|