Skip to content

Instantly share code, notes, and snippets.

import { UniversityRecommendation } from '../../../../../../Report2';
export const ireland_universities: UniversityRecommendation[] = [
{
name: 'Dublin City University',
nota_acceso: 7.5,
logo: 'https://api.unidream.es/assets/files/universities/9d423983-dc91-42ff-a54c-169b9866eebf/logo/1575548f-d689-4f09-8539-aa876827de84.png',
value1: 'Nivel de IELTS de 6.5 o equivalente',
value2: 'Título de Bachillerato con mínimo 7 ',
value3: 'Notable Alto en mínimo 3 asignaturas',
Necesito que me creas una interfaz con la siguiente estructura, de las siguientes universidades, para nota media, tomas nota media nueva, la otra la puedes obviar.
te comparto la interfaz y un ejemplo de como debes armar los datos.
export type UniversityRecommendation = {
id?: number;
name: string;
nota_acceso?: string | number;
logo?: string;
value1: string;
@joelvill
joelvill / List chats
Created August 26, 2024 19:16
List chats
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../core/components/typographies.dart';
import '../../../core/utils/assets_url.dart';
import '../../../core/utils/herlpers.dart';
import '../../../data/models/messages/chat_model.dart';
import '../chat_controller.dart';
import 'card_message_content.dart';
import 'chat_input_field.dart';
name: flutter_pattern
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
@joelvill
joelvill / gist:d8a9fcdcee1ef928cf869fee5d6f6363
Created August 13, 2024 18:31
Código de ModalBottomSheet
import 'package:flutter/material.dart';
import '../../data/models/messages/chat_model.dart';
import '../utils/herlpers.dart';
import 'typographies.dart';
import '../utils/constants.dart';
import '../../modules/chat_module/widgets/search_input_message.dart';
class CompartirBottomSheet extends StatefulWidget {
final List<UserInfo> users;