# data[].attributes.attachment_caption
Hospital Regional Traumatologico y Quirurgico Profesor Juan Bosch

# data[].attributes.body
Area: Recursos Humanos

# data[].attributes.body
El policlinico La vega

# data[].attributes.body
Zona Franca

# data[].attributes.body
Robertson y Enjel VK

# data[].attributes.attachment_link.readable_text
// main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(DeliveryApp());
}

class DeliveryApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Arcanine',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: HomeScreen(),
    );
  }
}

class HomeScreen extends StatefulWidget {
  @override
  _HomeScreenState createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  int _selectedIndex = 0;

  static List<Widget> _screens = <Widget>[
    ProductosScreen(),
    PedidosScreen(),
    ServiciosScreen(),
  ];

  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color.fromARGB(223, 255, 255, 255),
      appBar: AppBar(
        backgroundColor: const Color.fromARGB(255, 240, 123, 50),
        foregroundColor: Colors.white,
        title: Text('Arcanine'),
      ),
      body: _screens[_selectedIndex],
      bottomNavigationBar: BottomNavigationBar(
        items: const <BottomNavigationBarItem>[
          BottomNavigationBarItem(
            icon: Icon(Icons.computer),
            label: 'Productos',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.shopping_cart),
            label: 'Pedidos',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.room_service),
            label: 'Servicios',
          ),
        ],
        currentIndex: _selectedIndex,
        onTap: _onItemTapped,
      ),
    );
  }
}

// Clase para representar un producto
class Producto {
  final String nombre;
  final String imagenUrl;
  final double precio;

  Producto({
    required this.nombre,
    required this.imagenUrl,
    required this.precio,
  });
}

class ProductosScreen extends StatelessWidget {
  // Lista de productos de ejemplo
  final List<Producto> productos = [
    Producto(
      nombre: 'AudÃ­fonos',
      imagenUrl:
          'https://m.media-amazon.com/images/I/71F2ccIPPLL.AC_SL1500.jpg',
      precio: 1160,
    ),
    Producto(
      nombre: 'PCâs',
      imagenUrl: 'https://c1.neweggimages.com/productimage/nb640/BV1MS24082203EPOU5D.jpg',
      precio: 40300,
    ),
    Producto(
      nombre: 'Xbox',
      imagenUrl: 'https://i5.walmartimages.com/seo/Microsoft-Xbox-Series-X-1TB-Carbon-Black_019d9074-2c7c-494e-ae9f-55f55b13461a.30da502564550e26dec058333046759c.jpeg',
      precio: 28000,
    ),
    Producto(
      nombre: 'Play Station',
      imagenUrl: 'https://m.media-amazon.com/images/I/41ECK5cY-2L.AC_UF1000,1000_QL80.jpg',
      precio: 28000,
    ),
    Producto(
      nombre: 'Monitores',
      imagenUrl: 'https://atlas-content-cdn.pixelsquid.com/stock-images/ultrawide-qhd-monitor-computer-n1PP031-600.jpg',
      precio: 92690,
    ),
    Producto(
      nombre: 'Calizo Personalizados',
      imagenUrl: 'https://m.media-amazon.com/images/I/61XhDIHTIEL.AC_UY900.jpg',
      precio: 3150,
    ),
    Producto(
      nombre: 'Sillas Gaming',
      imagenUrl: 'https://i0.wp.com/tic-online-store.cl//wp-content/uploads/2022/07/SILLA-GAMER.png?fit=1080%2C1080&ssl=1',
      precio: 31720,
    ),
    Producto(
      nombre: 'Controles de Xbox',
      imagenUrl: 'https://cdn.pixabay.com/photo/2020/05/12/10/55/xbox-5162428_960_720.png',
      precio: 2500,
    ),
    Producto(
      nombre: 'Controles de Play Station',
      imagenUrl: 'https://png.pngtree.com/png-clipart/20240126/original/pngtree-ps-5-controller-png-image_14159266.png',
      precio: 5500,
    ),
    Producto(
      nombre: 'Visores 360',
      imagenUrl: 'https://lh4.googleusercontent.com/proxy/yQfKFuQeQK8JRhgGYGu6Qaef67H19sJNyZ_7y9in7cNaXAVjRFvKnSr0EDVCsJX68A6ykoCfQStUPc-rlOFl_b8hUNsFpBB1VQipcXdG8SOK',
      precio: 71300,
    ),
    Producto(
      nombre: 'Luces ledâs',
      imagenUrl: 'https://m.media-amazon.com/images/I/81u+X6JkgFL.AC_SL1500.jpg',
      precio: 4650,
    ),
  ];

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
        image: DecorationImage(
          image: NetworkImage(
            'https://images.unsplash.com/photo-1513104890138-7c749659d576',
          ),
          fit: BoxFit.cover,
          colorFilter: ColorFilter.mode(
            Colors.black.withOpacity(0.2),
            BlendMode.dstATop,
          ),
        ),
      ),
      child: Column(
        children: [
          Padding(
            padding: EdgeInsets.all(16.0),
            child: Text(
              'Lista de Productos',
              style: TextStyle(
                fontSize: 24,
                fontWeight: FontWeight.bold,
                color: const Color.fromARGB(255, 50, 50, 50),
              ),
            ),
          ),
          Expanded(
            child: ListView.builder(
              itemCount: productos.length,
              itemBuilder: (context, index) {
                final producto = productos[index];
                return Card(
                  color: const Color.fromARGB(255, 226, 121, 56),
                  margin: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
                  child: ListTile(
                    leading: Container(
                      width: 60,
                      height: 60,
                      decoration: BoxDecoration(
                        image: DecorationImage(
                          image: NetworkImage(producto.imagenUrl),
                          fit: BoxFit.cover,
                        ),
                        borderRadius: BorderRadius.circular(8),
                      ),
                    ),
                    title: Text(
                      producto.nombre,
                      style: TextStyle(color: Colors.white),
                    ),
                    subtitle: Text(
                      '\$${producto.precio.toStringAsFixed(2)}',
                      style: TextStyle(color: Colors.grey[300]),
                    ),

                    trailing: IconButton(
                      icon: Icon(Icons.add_shopping_cart, color: Colors.white),
                      onPressed: () {
                        // AquÃ­ irÃ­a la lÃ³gica para agregar al carrito
                        ScaffoldMessenger.of(context).showSnackBar(
                          SnackBar(
                            content: Text(
                              '${producto.nombre} agregado al carrito',
                            ),
                          ),
                        );
                      },
                    ),
                  ),
                );
              },
            ),
          ),
        ],
      ),
    );
  }
}

class PedidosScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text('Mis Pedidos', style: TextStyle(fontSize: 24)),
          SizedBox(height: 20),
          ElevatedButton(onPressed: () {}, child: Text('Ver Detalles')),
        ],
      ),
    );
  }
}

class ServiciosScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text('Servicios Disponibles', style: TextStyle(fontSize: 24)),
          SizedBox(height: 20),
          ElevatedButton(onPressed: () {}, child: Text('Solicitar Servicio')),
        ],
      ),
    );
  }
}

# data[].attributes.body
MaxSerComp

# data[].attributes.body
Zona Franca

# data[].attributes.body
Hospital Municipal Sigifredo Alba

Área: Archivo

# data[].attributes.body
Almacen Becruz

Area: Cajera

# data[].attributes.headline
Maximo Servicio Computarizado (Max Ser Comp) Rosangel González Minaya #20

# data[].attributes.subject
Maximo Servicio Computarizado (Max Ser Comp) Rosangel González Minaya #20

# data[].attributes.headline
Policlinico La vega Heidy Fabian Veloz #07

# data[].attributes.subject
Policlinico La vega Heidy Fabian Veloz #07

# data[].attributes.attachment_link.readable_text
import 'package:flutter/material.dart';

// Global cart list to store added products
List<Producto> cartItems = [];

void main() {
  runApp(DeliveryApp());
}

class DeliveryApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Z&K',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: HomeScreen(),
    );
  }
}

class HomeScreen extends StatefulWidget {
  @override
  _HomeScreenState createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  int _selectedIndex = 0;

  static List<Widget> _screens = <Widget>[
    ProductosScreen(),
    PedidosScreen(),
    ServiciosScreen(),
  ];

  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color.fromARGB(223, 255, 255, 255),
      appBar: AppBar(
         backgroundColor: const Color.fromARGB(255, 189, 121, 245),
        foregroundColor: Colors.white,
        title: Text(
          'Z&K',
          style: TextStyle(fontWeight: FontWeight.bold),
        ),
        centerTitle: true,
      ),
      body: _screens[_selectedIndex],
      bottomNavigationBar: BottomNavigationBar(
        items: const <BottomNavigationBarItem>[
          BottomNavigationBarItem(
            icon: Icon(Icons.book),
            label: 'Productos',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.print),
            label: 'Pedidos',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.campaign_sharp),
            label: 'Servicios',
          ),
        ],
        currentIndex: _selectedIndex,
        onTap: _onItemTapped,
      ),
    );
  }
}

// Clase para representar un producto
class Producto {
  final String nombre;
  final String imagenUrl;
  final double precio;

  Producto({
    required this.nombre,
    required this.imagenUrl,
    required this.precio,
  });
}

class ProductosScreen extends StatelessWidget {
  // Lista de productos de ejemplo
  final List<Producto> productos = [
    Producto(
      nombre: 'Resalatadores',
      imagenUrl: '#',
      precio: 55,
    ),
    Producto(
      nombre: 'Lapises',
      imagenUrl: '#',
      precio: 95,
    ),
    Producto(
      nombre: 'Gomas de borrar',
      imagenUrl: '#',
      precio: 20,
    ),
    Producto(
      nombre: 'Marcadores permanentes',
      imagenUrl: '#',
      precio: 55,
    ),
    Producto(
      nombre: 'Marcadores de colores',
      imagenUrl: '#',
      precio: 60,
    ),
    Producto(
      nombre: 'Lapiceros de colores',
      imagenUrl: '#',
      precio: 15,
    ),
    Producto(
      nombre: 'Lapiceros de flores',
      imagenUrl: '#',
      precio: 35,
    ),
    Producto(
      nombre: 'Lapicero de zanahoria',
      imagenUrl: '#',
      precio: 75,
    ),
    Producto(
      nombre: 'Postis',
      imagenUrl: '#',
      precio: 25,
    ),
    Producto(
      nombre: 'Lapiceros con aguacates adorables',
      imagenUrl: '#',
      precio: 45,
    ),
    Producto(
      nombre: 'Paletas resaltadoras',
      imagenUrl: '#',
      precio: 30,
    ),
    Producto(
      nombre: 'Geringas resaltadoras',
      imagenUrl: '',
      precio: 25,
    ),
    Producto(
      nombre: 'Libretas',
      imagenUrl: '#',
      precio: 150,
    ),
    Producto(
      nombre: 'Lapiceros en forma de cactus',
      imagenUrl: '',
      precio: 75,
    ),
    Producto(
      nombre: 'Lapice de colores',
      imagenUrl: '#',
      precio: 120,
    ),
  ];

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: BoxDecoration(
        image: DecorationImage(
          image: NetworkImage(
            'https://images.unsplash.com/photo-1513104890138-7c749659d576',
          ),
          fit: BoxFit.cover,
          colorFilter: ColorFilter.mode(
            Colors.black.withOpacity(0.2),
            BlendMode.dstATop,
          ),
        ),
      ),
      child: Column(
        children: [
          Padding(
            padding: EdgeInsets.all(16.0),
            child: Text(
              'Lista de Productos',
              style: TextStyle(
                fontSize: 24,
                fontWeight: FontWeight.bold,
                color: const Color.fromARGB(255, 166, 8, 197),
              ),
            ),
          ),
          Expanded(
            child: ListView.builder(
              itemCount: productos.length,
              itemBuilder: (context, index) {
                final producto = productos[index];
                return Card(
                color: const Color.fromARGB(255, 253, 154, 167),
                  margin: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
                  child: ListTile(
                    leading: Container(
                      width: 60,
                      height: 60,
                      color: Colors.black12,
                      child: ClipRRect(
                        borderRadius: BorderRadius.circular(8),
                        child: Image.network(
                          producto.imagenUrl,
                          fit: BoxFit.contain,
                          errorBuilder: (context, error, stackTrace) => Icon(Icons.error),
                        ),
                      ),
                    ),
                    title: Text(
                      producto.nombre,
                      style: TextStyle(color: Colors.white),
                    ),
                    subtitle: Text(
                      '\$${producto.precio.toStringAsFixed(2)}',
                      style: TextStyle(color: Colors.deepPurple[300]),
                    ),
                    trailing: IconButton(
                      icon: Icon(Icons.add_shopping_cart, color: Colors.deepPurple),
                      onPressed: () {
                        cartItems.add(producto);
                        ScaffoldMessenger.of(context).showSnackBar(
                          SnackBar(
                            content: Text(
                              '${producto.nombre} agregado al carrito',
                            ),
                          ),
                        );
                      },
                    ),
                  ),
                );
              },
            ),
          ),
        ],
      ),
    );
  }
}

class PedidosScreen extends StatefulWidget {
  @override
  _PedidosScreenState createState() => _PedidosScreenState();
}

class _PedidosScreenState extends State<PedidosScreen> {
  void _removeFromCart(int index) {
    if (index >= 0 && index < cartItems.length) {
      final producto = cartItems[index];
      setState(() {
        cartItems.removeAt(index);
      });
      ScaffoldMessenger.of(context).showSnackBar(
        SnackBar(
          content: Text('${producto.nombre} eliminado del carrito'),
        ),
      );
    }
  }

  double _calculateTotal() {
    return cartItems.fold(0.0, (sum, producto) => sum + producto.precio);
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Padding(
          padding: EdgeInsets.all(16.0),
          child: Text(
            'Mis Pedidos',
            style: TextStyle(
              fontSize: 24,
              fontWeight: FontWeight.bold,
              color: const Color.fromARGB(255, 50, 50, 50),
            ),
          ),
        ),
        if (cartItems.isNotEmpty)
          Padding(
            padding: EdgeInsets.fromLTRB(16.0, 0, 16.0, 16.0),
            child: Text(
              'Total: \$${(_calculateTotal()).toStringAsFixed(2)}',
              style: TextStyle(
                fontSize: 20,
                fontWeight: FontWeight.bold,
                color: const Color.fromARGB(255, 50, 50, 50),
              ),
            ),
          ),
        Expanded(
          child: cartItems.isEmpty
              ? Center(
                  child: Text(
                    'No hay productos en el carrito',
                    style: TextStyle(fontSize: 18, color: Colors.grey),
                  ),
                )
              : ListView.builder(
                  key: ValueKey(cartItems.length),
                  padding: EdgeInsets.all(16),
                  itemCount: cartItems.length,
                  itemBuilder: (context, index) {
                    if (index >= cartItems.length) {
                      return SizedBox.shrink();
                    }
                    final producto = cartItems[index];
                    return Card(
                      color: const Color.fromARGB(255, 253, 154, 167),
                      margin: EdgeInsets.symmetric(vertical: 8),
                      child: ListTile(
                        leading: Container(
                          width: 60,
                          height: 60,
                          color: Colors.grey[200],
                          child: ClipRRect(
                            borderRadius: BorderRadius.circular(8),
                            child: Image.network(
                              producto.imagenUrl,
                              fit: BoxFit.contain,
                              errorBuilder: (context, error, stackTrace) => Icon(Icons.error),
                            ),
                          ),
                        ),
                        title: Text(
                          producto.nombre,
                          style: TextStyle(color: Colors.white),
                        ),
                        subtitle: Text(
                          '\$${producto.precio.toStringAsFixed(2)}',
                          style: TextStyle(color: Colors.grey[300]),
                        ),
                        trailing: IconButton(
                          icon: Icon(Icons.remove_circle, color: Colors.white),
                          onPressed: () => _removeFromCart(index),
                        ),
                      ),
                    );
                  },
                ),
        ),
      ],
    );
  }
}

class ServiciosScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text('Servicios Disponibles', style: TextStyle(fontSize: 24)),
          SizedBox(height: 20),
          ElevatedButton(onPressed: () {}, child: Text('Solicitar Servicio')),
        ],
      ),
    );
  }
}

# data[].attributes.body
ROSANGEL, WILFRY Y LA ENANA MAS ENANA

# data[].attributes.attachment_link.description
Login to access and create your next design.

# data[].attributes.body
holaaa

# data[].attributes.attachment_link.title
Presentación Portafolio Influencer Coquette Rosa