Skip to content

Instantly share code, notes, and snippets.

@PedroPicasso18
Created March 26, 2021 06:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PedroPicasso18/d467d3fa3a1d59a76870b41e428eacc2 to your computer and use it in GitHub Desktop.
Save PedroPicasso18/d467d3fa3a1d59a76870b41e428eacc2 to your computer and use it in GitHub Desktop.
Practica5
import 'package:flutter/material.dart';
void main() {
runApp( PicassoApp());
}//fin de main
class PicassoApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
backgroundColor:Colors.black,
title: Text(
'Pruebas texto',
style: TextStyle(fontWeight: FontWeight.bold),
)
),//fin del appbar
body: Container(
alignment: Alignment.center,
margin: const EdgeInsets.all(20.0),
color: Colors.white ,
child: Text('Practicando con Programacion'),
),//fin del container
floatingActionButton: FloatingActionButton(
onPressed: () {
// Add your onPressed code here!
},
child: const Icon(Icons.thumb_up),
backgroundColor: Colors.black,
),//fin del floating action button
),//fin del Scaffold
);//Fin del MaterialApp
}//Fin de widget
}//fin de clase Nava
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment