no message

parent baadf91b
......@@ -2,6 +2,7 @@ import 'package:carousel_pro/carousel_pro.dart';
import 'package:feelverapp/service/api.dart';
import 'package:feelverapp/ui/home/home.dart';
import 'package:feelverapp/ui/menu/menu.dart';
import 'package:feelverapp/ui/shop/shop_main.dart';
import 'package:feelverapp/ui/shop/shoplistdetail_presenter.dart';
import 'package:feelverapp/util/SizeConfig.dart';
import 'package:flutter/cupertino.dart';
......@@ -344,7 +345,16 @@ class _ShopListDetailState extends State<ShopListDetail> {
SizedBox(height: 30,),
Align(
alignment: Alignment.topLeft,
child:Text(
child: InkWell(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => MainShop(),
),
);
},
child: Text(
presenter.model.result[0].storeProduct[i].product.name,
textAlign: TextAlign.left,
......@@ -353,7 +363,7 @@ class _ShopListDetailState extends State<ShopListDetail> {
fontSize: SizeConfig.getFontSize(16),
fontFamily: "SF_Pro_Text",
fontWeight: FontWeight.w700),
),),
)),),
SizedBox(height: 30,),
Row(children: [
......
......@@ -9,6 +9,8 @@ import 'package:flutter/material.dart';
import 'dart:math';
class MainShop extends StatefulWidget {
MainShop({Key key, this.title}) : super(key: key);
final String title;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment