123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- // import 'package:flutter/material.dart';
- // import 'dart:convert';
- // import 'package:flutter/foundation.dart';
- // import 'OfficeScreen.dart';
- // import 'appointments.dart';
- //
- // class Officess {
- // final String office;
- // final String doctor;
- // final String specialty;
- // final String address;
- //
- // Officess({this.office, this.doctor, this.specialty, this.address});
- //
- // factory Officess.fromJson(Map<String, dynamic> json) {
- // return Officess(
- // office: json['office'],
- // doctor: json['doctor'],
- // specialty: json['id'],
- // address: json['title'],
- // );
- // }
- // }
-
- class Offices {
- final String office;
- final String doctor;
- final String specialty;
- final String address;
-
- var variable = 32;
-
- var docs = ["Collazo", "Albizu"];
- var spec = ["General", "Pediatra"];
- var addrs = ["Bo. Montellano, Cayey", "Las Dalias, Mayagüez"];
-
- Offices(this.office, this.doctor, this.specialty, this.address);
-
-
- }
- // var docs = List<String> ("juan", "pedro");
-
-
- // final off = List<Offices>.generate(
- // 2,
- // (i) => Offices(
- // 'Office $i',
- // docs[i], spec[i], addrs[i],
- // ),
- // );
-
-
-
-
-
-
- // final off = List<Offices>.generate(
- // 2,
- // (i) => Offices(
- // 'Office $i',
- // docs[i],
- // spec[i],
- // addrs[i],
- // ),
- // );
-
-
-
|