This commit is contained in:
Felipe
2023-11-17 11:58:11 -05:00
parent a0193bb43f
commit 6fe88bf31c
10 changed files with 266 additions and 781 deletions
@@ -1,4 +1,5 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
import 'package:intl/intl.dart';
@@ -9,6 +10,7 @@ import 'package:prosappco/src/models/scores_model.dart';
import 'package:prosappco/src/models/setting_model.dart';
import 'package:prosappco/src/models/user_model.dart';
import 'package:prosappco/src/presentation/screens/map/service.dart';
import 'package:prosappco/src/presentation/screens/service_web.dart';
class ServiceAfterScreen extends StatefulWidget {
var eventoId;
@@ -66,14 +68,23 @@ class _ServiceAfterScreenState extends State<ServiceAfterScreen> {
return Scaffold(
appBar: PopAppbar(
onPressed: () {
Navigator.pushReplacement(
context,
CupertinoPageRoute(
builder: (BuildContext context) {
return const ServiceScreen();
},
),
);
kIsWeb
? Navigator.pushReplacement(
context,
CupertinoPageRoute(
builder: (BuildContext context) {
return const ServiceWebScreen();
},
),
)
: Navigator.pushReplacement(
context,
CupertinoPageRoute(
builder: (BuildContext context) {
return const ServiceScreen();
},
),
);
},
label: 'Servicio'),
body: Column(