- 
      
 - 
        
Save bvdfbffgdbdbbdb/36bb01713869784274159482b5c02374 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/materia.dart'; | |
| void main() => runApp(myapp)); | |
| void main() => runApp(my2app)); | |
| class myapp extends StatefullWidget{ | |
| @override | |
| Widget build(build(Context context)){ | |
| return Scaffold( | |
| leading : Icon( | |
| Icon: Icon(Icons.chat), | |
| onPressed: () {}, | |
| ), | |
| title : Text("Ayo chat"), | |
| backgroundColor : Colors.blue, | |
| child: PopUpMenuButton( | |
| Itembuilder(build Context context){ | |
| return [ | |
| PopUpitem: (child: Text("Settings")), | |
| PopUpitem: (child: Text("Log in")), | |
| PopUpitem: (child: Text("About us")), | |
| PopUpitem: (child: Text("Accout")), | |
| PopUpitem: (child: Text("Switch account")), | |
| ], | |
| }, | |
| ), | |
| child: column( | |
| children: <Widget> [] | |
| child : Icon( | |
| Icon: Icon(Icons.home), | |
| onPressed: () {}, | |
| ), | |
| child : Icon( | |
| Icon: Icon(Icons.people), | |
| onPressed: () {}, | |
| ), | |
| child : Icon( | |
| Icon: Icon(Icons.video), | |
| onPressed: () {}, | |
| ), | |
| child : Icon( | |
| Icon: Icon(Icons.group), | |
| onPressed: () {}, | |
| ), | |
| ], | |
| ) | |
| ), | |
| }; | |
| }; | |
| class my2app extends StateFullWidget{ | |
| @override | |
| Widget build(build(Context context)){ | |
| return body( | |
| child: column( | |
| padding( | |
| padding: const Edgeinset.all(10), | |
| ) | |
| Mainaxisalignment: MainAxisAlignment.spaceBetween, | |
| Mainaxisalignment: MainAxisAlignment.center, | |
| children: <Widget> [ | |
| child: TextArea( | |
| decoration: InputDecoration( | |
| lebelText: Text("Name"), | |
| lebelstyle( | |
| color: Colors.blue, | |
| fontsze: 10.0, | |
| fontfamily: FontFamily.Arial, | |
| ), | |
| hintText: Text("yor name please"), | |
| ), | |
| ), | |
| * | |
| child: TextArea( | |
| KeyboardType: TextInputText.number, | |
| decoration: InputDecoration( | |
| lebelText: Text("password"), | |
| lebelstyle( | |
| color: Colors.blue, | |
| fontsze: 10.0, | |
| fontfamily: FontFamily.Arial, | |
| ) | |
| hintText: Text("your password please"), | |
| ), | |
| ), | |
| child : Button( | |
| Mainaxisalignment: MainAxisAlignment.center, | |
| ), | |
| ] | |
| ) | |
| ) | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment