fix: profile roles

This commit is contained in:
BLoC
2025-02-12 14:44:58 +03:00
parent f44b9e5634
commit 970a30f436
34 changed files with 816 additions and 1292 deletions

View File

@@ -0,0 +1,33 @@
import 'package:eatvio_app/core/const.dart';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
class GlossaryScreen extends StatefulWidget {
const GlossaryScreen({super.key});
@override
State<GlossaryScreen> createState() => _GlossaryScreenState();
}
class _GlossaryScreenState extends State<GlossaryScreen> {
late final WebViewController _controller;
@override
void initState() {
super.initState();
_controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..loadRequest(Uri.parse(baseUrl + '/product_nutritional_value'));
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Глоссарий'),
),
body: WebViewWidget(controller: _controller),
);
}
}