Created
January 6, 2020 14:04
-
-
Save hydroweaver/1415cfbd3000923eb58de8fa0c1aae0e to your computer and use it in GitHub Desktop.
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
class AppState extends State<App>{ | |
Widget build(BuildContext context){ | |
return Scaffold( | |
appBar: AppBar( | |
title: Text("First Empty Half Baked App"), | |
), | |
body: ReorderableListView( | |
children: <Widget>[ | |
for(final value in items) | |
Text( | |
value, | |
key: Key(value), | |
style: TextStyle( | |
fontSize: 22.0 | |
), | |
) | |
], | |
onReorder: (OldIndex, NewIndex){ | |
}, | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment