we have only one if statement in here and that’s to define our breakpoints on whether we’re doing WideLayout versus and NarrowLayout
Build a flutter application with the ability to select the image from the gallery using ImagePicker and upload images to the web server using a multi-part post request.
AlertDialog has the ability to display different kinds of widgets. Here we will see the 3 different types of ListView to display the list in AlertDialog and how to set dialog width and height to fit actual items size.
Every FormField has it’s own validate function and within that validate function it will invoke the validator. The error message is displayed in the TextField.
By default, the progress indicators will use the color from your theme’s accentColor. You can also set a custom color with the valueColor parameter.
Using dynamic font serving can help you make sure you only include the fonts that your users need when they need them.
You can sort data in DataTable. You can make a column numerical to forcing right alignment in left to right locals. You can show that a row is selected. You can show that a cell is editable or not yet filled in(Placeholder).
create a login screen with two TextField and RaisedButton. Launches the Home Screen when it’s tapped. Waits for the HomeScreen to return a result.
Think Future objects as boxes of data. Somebody hands you once and it starts off closed. Then a little while later, it pops open, there’s either a value or an error.
To show a line or a paragraph that could have multiple styles. Something is bold for emphasis or italicized or underlined or different color or a different font or everything at once.