69 lines
2.1 KiB
Dart
69 lines
2.1 KiB
Dart
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_html/flutter_html.dart';
|
|
|
|
class InternalDetail extends StatefulWidget {
|
|
@override
|
|
_InternalDetailState createState() => _InternalDetailState();
|
|
}
|
|
|
|
class _InternalDetailState extends State<InternalDetail> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
backgroundColor: Colors.red,
|
|
title: Text('News'),
|
|
centerTitle: true,
|
|
),
|
|
body: Container(
|
|
child: ListView(
|
|
children: <Widget>[
|
|
Row(
|
|
children: <Widget>[
|
|
Text('27th,June,2020',
|
|
style: TextStyle(
|
|
fontSize: 18.0,
|
|
color: Colors.black,
|
|
),)
|
|
],
|
|
),
|
|
Container(
|
|
height: 205.0,
|
|
child: GridTile(
|
|
child: Container(
|
|
color: Colors.white,
|
|
child: Image.asset('assets/images/news.png'),
|
|
),
|
|
footer: Container(
|
|
color: Colors.white70,
|
|
child: ListTile(
|
|
leading: Text('Ronaldo has one of the most expensive rolex watches in the world',
|
|
style: TextStyle(
|
|
color: Colors.red,
|
|
fontWeight: FontWeight.bold,
|
|
fontSize: 20,
|
|
),
|
|
),
|
|
title: Row(
|
|
children: <Widget>[
|
|
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
Html(data:'The Rolex GMT Master Ice watch is priced at £ 371,000 (nearly 500,000). It was shown in January at the Dubai Globe Socce Awards.'
|
|
'The watch is made up of 18 carat white gold and many diamonds. Thirty diamonds were found on the head of the watch and its straps. '
|
|
'Ronaldo also posted the watch on Instagram when posting a photo with his girlfriend Georgina Rodriguez.',
|
|
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|