Profile View
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:le_kiosque_by_gcs/model/magazine.dart';
|
||||
import 'package:le_kiosque_by_gcs/ui/custom/item_mag_large.dart';
|
||||
import 'package:le_kiosque_by_gcs/ui/view/detailmag/detail_mag.dart';
|
||||
|
||||
import 'item_mag_row.dart';
|
||||
import 'item_mag_small.dart';
|
||||
|
||||
class ItemMagRowNewest extends StatelessWidget {
|
||||
@@ -11,6 +13,8 @@ class ItemMagRowNewest extends StatelessWidget {
|
||||
}) : super(key: key);
|
||||
|
||||
final List<Magazine> magazines;
|
||||
final title = "Nouveautés";
|
||||
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -21,11 +25,27 @@ class ItemMagRowNewest extends StatelessWidget {
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(bottom: 16, top: 26),
|
||||
child: Text(
|
||||
"Nouveautés",
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
title,
|
||||
style: TextStyle(
|
||||
fontSize: 22,
|
||||
),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () => showDetailCategoryMagazine(
|
||||
context: context,
|
||||
magazines: magazines,
|
||||
rowTitle: title,
|
||||
),
|
||||
child: Text(
|
||||
'Détails',
|
||||
style: TextStyle(fontSize: 16, color: Color(0xFF25ADF3)),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
Container(
|
||||
|
||||
Reference in New Issue
Block a user