mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 08:31:19 +00:00
47 lines
1009 B
Dart
47 lines
1009 B
Dart
import 'dart:async';
|
|
import 'dart:convert';
|
|
import 'dart:io';
|
|
//import 'dart:html';
|
|
import 'dart:ui' as ui;
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:manager_api_new/api.dart';
|
|
import 'package:path_provider/path_provider.dart';
|
|
import 'package:tablet_app/Components/loading_common.dart';
|
|
|
|
|
|
class ArticleView extends StatefulWidget {
|
|
final SectionDTO? section;
|
|
ArticleView({this.section});
|
|
|
|
@override
|
|
_ArticleView createState() => _ArticleView();
|
|
}
|
|
|
|
class _ArticleView extends State<ArticleView> {
|
|
ArticleDTO articleDTO = ArticleDTO();
|
|
|
|
@override
|
|
void initState() {
|
|
/*print(widget.section!.data);
|
|
agendaDTO = AgendaDTO.fromJson(jsonDecode(widget.section!.data!))!;
|
|
print(agendaDTO);*/
|
|
|
|
super.initState();
|
|
}
|
|
|
|
@override
|
|
void dispose() {
|
|
//_webView = null;
|
|
super.dispose();
|
|
}
|
|
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return new Center(
|
|
child: Text("TODO Article"),
|
|
);
|
|
}
|
|
} //_webView |