Skip to content

Instantly share code, notes, and snippets.

View Lesliecalvillo's full-sized avatar

Lesliecalvillo

View GitHub Profile
@Lesliecalvillo
Lesliecalvillo / main.dart
Created May 6, 2021 23:46
app movil v1
import 'package:flutter/material.dart';
void main() { runApp(LeslieApp()); }// de main
class LeslieApp extends StatelessWidget {
@Lesliecalvillo
Lesliecalvillo / main.dart
Created May 6, 2021 23:52
app movil No.lista
import 'package:flutter/material.dart';
void main() {
runApp(MyApp(
items: List<String>.generate(100, (i) => "List Item $i"),
));
}
import 'package:flutter/material.dart';
void main() => runApp(LeslieApp());
class LeslieApp extends StatelessWidget{
@override
@Lesliecalvillo
Lesliecalvillo / cmasmasclaseopera.cpp
Created May 12, 2021 01:02
POO Act9bclase operacion herencia suma resta
#include <iostream>
using namespace std;
class operacion{
protected:
int a,b,r;
public:
void datoa(){
cout<<"ingrese primer valor= "<<endl;
cin>>a;
}//fin de dato a
@Lesliecalvillo
Lesliecalvillo / navigator.dart
Last active May 15, 2021 00:42
POO Act11 Navigator Bar icons
import 'package:flutter/material.dart';
void main() => runApp(LeslieApp());
class LeslieApp extends StatefulWidget {
@override
_LeslieAppState createState() => _LeslieAppState();
@Lesliecalvillo
Lesliecalvillo / Cpersona.cpp
Created May 18, 2021 00:01
POO Act12 clase persona
#include <iostream>
using namespace std;
//Declaracion de la clase
class LeslieCalvillo
{
public:
void dormir();
void hablar();
void contar();
void adquirirNombre();
@Lesliecalvillo
Lesliecalvillo / Cherenciapersona.cpp
Created May 19, 2021 01:06
POO Act13 clase  estudiante herencia persona
#include <iostream>
using namespace std;
class persona
{
private:
int Identidad;
public:
persona();//constructor
void capturarPersona();
@Lesliecalvillo
Lesliecalvillo / leslieapp.dart
Created May 22, 2021 00:48
POO Act1 Listview icon
import 'package:flutter/material.dart';
void main() {
runApp(MiviajeApp());
}//fin de main
class MiviajeApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final title ='servicios de viaje Leslie calvillo';
@Lesliecalvillo
Lesliecalvillo / tabbarmain.dart
Created May 28, 2021 00:12
POO Act4 App Tab Bar Paginas 1,2,3
import 'package:flutter/material.dart';
void main() => runApp(LeslieApp());
class LeslieApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter calvillo',
debugShowCheckedModeBanner: false,//Quitar baner
@Lesliecalvillo
Lesliecalvillo / leslie.cpp
Created June 2, 2021 00:47
POO Act7 Figura rectangulo c++
#include <iostream>
using namespace std;
#include "leslie.h"
int main()
{//creando el objeto a partir de la Clase Figura
Figura Rectangulo;
//Asignar Valores
Rectangulo.h=7;