Merge branch 'hot_fix' into 'diplomatic-quarter-live'
Hot fix See merge request Cloud_Solution/diplomatic-quarter!169dq_and_master
commit
f9ac57e5b9
@ -1,35 +1,29 @@
|
||||
import 'package:diplomaticquarterapp/config/size_config.dart';
|
||||
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
||||
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||
import 'package:flutter_html/flutter_html.dart';
|
||||
import 'package:html/dom.dart' as dom;
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class InsuranceCardDetails extends StatefulWidget {
|
||||
class InsuranceCardDetails extends StatelessWidget {
|
||||
final String data;
|
||||
|
||||
InsuranceCardDetails({this.data});
|
||||
|
||||
@override
|
||||
_InsuranceCardInsuranceCardDetailsState createState() => _InsuranceCardInsuranceCardDetailsState();
|
||||
}
|
||||
//TODO fix it
|
||||
class _InsuranceCardInsuranceCardDetailsState extends State<InsuranceCardDetails> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return
|
||||
AppScaffold(
|
||||
isShowAppBar: true,
|
||||
|
||||
body: Center(
|
||||
child: SingleChildScrollView(
|
||||
return AppScaffold(
|
||||
isShowAppBar: true,
|
||||
appBarTitle: TranslationBase.of(context).cardDetail,
|
||||
body: Center(
|
||||
child: SingleChildScrollView(
|
||||
child: Html(
|
||||
data:widget.data,
|
||||
)
|
||||
)
|
||||
data: data,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue