first commit
This commit is contained in:
68
lib/page_detail/internal_detail.dart
Normal file
68
lib/page_detail/internal_detail.dart
Normal file
@@ -0,0 +1,68 @@
|
||||
|
||||
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.',
|
||||
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
67
lib/page_detail/national_detail.dart
Normal file
67
lib/page_detail/national_detail.dart
Normal file
@@ -0,0 +1,67 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_html/flutter_html.dart';
|
||||
|
||||
class NationDetail extends StatefulWidget {
|
||||
@override
|
||||
_NationDetailState createState() => _NationDetailState();
|
||||
}
|
||||
|
||||
class _NationDetailState extends State<NationDetail> {
|
||||
@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/inter.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.',
|
||||
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
70
lib/page_detail/sport_detail.dart
Normal file
70
lib/page_detail/sport_detail.dart
Normal file
@@ -0,0 +1,70 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_html/flutter_html.dart';
|
||||
import 'package:testapp/config.dart';
|
||||
|
||||
class SportDetail extends StatefulWidget {
|
||||
@override
|
||||
_SportDetailState createState() => _SportDetailState();
|
||||
}
|
||||
|
||||
class _SportDetailState extends State<SportDetail> {
|
||||
@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/sport.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.',
|
||||
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user