saving image into database in base64 format or convert into real format and save image into folder or as file
File image = await ImagePicker.pickImage(source:ImageSource.camera);
// main.dart
class MyApp extends StatelessWidget with CommonData {
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData( brightness…
return Container(child:
Container(child:
Column(
Flutter: Retrieve the value of a text field
If changed MyApp from a StatelessWidget to a StatefulWidget will need to hot restart, since it is invoked in main
MyApp
StatelessWidget
StatefulWidget
Basically, when you hot reload the app, it calls the build() function, initState() is called…
build()
initState()
assembleDebug failed