Skip to content

Instantly share code, notes, and snippets.

@Lesliecalvillo
Created May 6, 2021 23:46
Show Gist options
  • Save Lesliecalvillo/9edff7b5f6e8275f3d35d919b67b7615 to your computer and use it in GitHub Desktop.
Save Lesliecalvillo/9edff7b5f6e8275f3d35d919b67b7615 to your computer and use it in GitHub Desktop.
app movil v1
import 'package:flutter/material.dart';
void main() { runApp(LeslieApp()); }// de main
class LeslieApp extends StatelessWidget {
@override
Widget build(BuildContext context){
return MaterialApp(
home: Scaffold(
appBar: AppBar(
leading :Builder(
builder: (BuildContext context){
return IconButton(
icon: const Icon(Icons.menu),// icon menu
tooltip: 'jaja',
onPressed: () {},
);// fin de iconButton
}
),// fin de biulder
title: Text('Mi Aplicacion'),
backgroundColor: Colors.teal,
actions: <Widget>[
IconButton (
icon:Icon(Icons.comment),
tooltip: 'Mensajes',
onPressed: () {},
),//fin de coments
IconButton (
icon : Icon(Icons.settings),
tooltip: 'Configuracion',
onPressed: () {},
),//fin de icon setting
],//fin de widget[]
),//fin de AppBar
body : Container(
alignment : Alignment.center,
child : Text("Bienvenidos soy Leslie"),
),//fin de body
), //fin de Sacaffold
debugShowCheckedModeBanner: false,
); //fin de MaterialApp
}// fin de widget
}// fin de LeslieApp
@Lesliecalvillo
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment