🏄♂️
This file contains 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/material.dart'; | |
class SettingsWidget extends StatefulWidget { | |
SettingsWidget({Key key}) : super(key: key); | |
@override | |
_SettingsWidgetState createState() => new _SettingsWidgetState(); | |
} |
This file contains 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
@override | |
Widget build(BuildContext context) { | |
return new Container( | |
color: Colors.white, | |
child: new Center( | |
child: | |
new DropdownButton( | |
value: _currentCity, | |
items: _dropDownMenuItems, | |
onChanged: changedDropDownItem, |
This file contains 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
List _cities = | |
["Cluj-Napoca", "Bucuresti", "Timisoara", "Brasov", "Constanta"]; | |
List<DropdownMenuItem<String>> _dropDownMenuItems; | |
String _currentCity; | |
@override | |
void initState() { | |
_dropDownMenuItems = getDropDownMenuItems(); | |
_currentCity = _dropDownMenuItems[0].value; |
This file contains 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/material.dart'; | |
class SettingsWidget extends StatefulWidget { | |
SettingsWidget({Key key}) : super(key: key); | |
@override | |
_SettingsWidgetState createState() => new _SettingsWidgetState(); | |
} |
This file contains 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/material.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} | |
class _DebugUiPageState extends State<DebugUiPage> { |
This file contains 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
new Container( | |
width: 190.0, | |
height: 190.0, | |
decoration: new BoxDecoration( | |
shape: BoxShape.circle, | |
image: new DecorationImage( | |
fit: BoxFit.fill, | |
image: new NetworkImage( | |
"https://i.imgur.com/BoN9kdC.png") | |
) |
This file contains 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
new Container( | |
width: 190.0, | |
height: 190.0, | |
decoration: new BoxDecoration( | |
shape: BoxShape.circle, | |
image: new DecorationImage( | |
fit: BoxFit.fill, | |
image: new NetworkImage( | |
"https://i.imgur.com/BoN9kdC.png") | |
) |
This file contains 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/material.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} | |
class _DebugUiPageState extends State<DebugUiPage> { |
This file contains 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/material.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} | |
class _DebugUiPageState extends State<DebugUiPage> { |
This file contains 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/material.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} | |
class _DebugUiPageState extends State<DebugUiPage> { |
NewerOlder