OscarGil03 před 2 měsíci
rodič
revize
c8f4188942
1 změnil soubory, kde provedl 6 přidání a 12 odebrání
  1. 6 12
      lib/mvvm/views/pedido/categorias_screen.dart

+ 6 - 12
lib/mvvm/views/pedido/categorias_screen.dart

@@ -1,7 +1,6 @@
 import 'package:flutter/material.dart';
 import 'package:turquessa_mesas_hoster/core/models/categoria_model.dart';
 
-
 class CategoriasGrid extends StatefulWidget {
   const CategoriasGrid({super.key});
 
@@ -10,7 +9,6 @@ class CategoriasGrid extends StatefulWidget {
 }
 
 class _CategoriasGridState extends State<CategoriasGrid> {
-
   List<Categoria> categorias = [
     Categoria(
       id: 1,
@@ -63,24 +61,20 @@ class _CategoriasGridState extends State<CategoriasGrid> {
         itemCount: 20,
         itemBuilder: (context, index) {
           return GestureDetector(
-              //* agregar al Carrito
-              // onTap: set,
+            //* agregar al Carrito
+            // onTap: set,
             child: CategoriaCard(categoria: categorias[index]),
-              );
+          );
         });
   }
 }
 
-
-
 class CategoriaCard extends StatelessWidget {
-  final Categoria  categoria;
+  final Categoria categoria;
   const CategoriaCard({super.key, required this.categoria});
 
   @override
   Widget build(BuildContext context) {
-    return Card(
-      child: ,
-    );
+    return Card();
   }
-}G
+}