Posts

Showing posts from April, 2022

Sign Up Form (Error)

main.dart import   'package:flutter/material.dart' ; import   'SignUpPage.dart' ; void   main ()  =>  runApp ( MyApp ()); class   MyApp   extends   StatelessWidget   {    const   MyApp ({ Key ?   key })   :   super ( key :   key );    @override    Widget   build ( BuildContext   context )   {      return   MaterialApp (        title :   'User Details' ,        debugShowCheckedModeBanner :   false ,        theme :   ThemeData . dark (),        home :   SignUpPage (),      );    } } SignUpPage.dart Error in strings and input import   'package:flutter/material.dart' ; import   'HomePage.dart' ; import   'https://flutlab.io/root/app/lib/HomePage.dart' ; class ...

How to call API (Error)

 main.dart import   'package:flutter/material.dart' ; import   'HomePage.dart' ; void   main ()  =>  runApp ( MyApp ()); class   MyApp   extends   StatelessWidget   {    const   MyApp ({ Key ?   key })   :   super ( key :   key );    @override    Widget   build ( BuildContext   context )   {      return   MaterialApp (        title :   'Github App' ,        theme :   ThemeData (          primarySwatch :   Colors . deepPurple ,        ),        home :   HomePage ( title :   'Parse JSON Data' ),      );    } } HomePage.dart Error is in getjsondata() in uri  import   'package:flutter/material.dart' ; import ...

Camera and Gesture (Error)

 Main.dart import   'package:flutter/material.dart' ; import   'MyHomePage.dart' ; void   main ()  =>  runApp ( MyApp ()); class   MyApp   extends   StatelessWidget   {    @override    Widget   build ( BuildContext   context )   {      return   MaterialApp (        title :   'Camera and Gesture' ,        theme :   ThemeData ( primaryColor :   Colors . red ),        home :   MyHomePage (),      );    } } HomePage.dart Error on // File _image; import   'dart:html' ; import   'package:flutter/material.dart' ; import   'dart:async' ; import   'dart:io' ; import   'package:image_picker/image_picker.dart' ; class   MyHomePage   extends   StatefulWidget   {    const   MyHomePa...

Drawer App

Image
 main.dart import   'package:flutter/material.dart' ; import   'MyHomePage.dart' ; import   'category.dart' ; //import 'https://flutlab.io/root/app/lib/MyHomePage.dart'; void   main ()  =>  runApp ( MyApp ()); class   MyApp   extends   StatelessWidget   {    const   MyApp ({ Key ?   key })   :   super ( key :   key );    @override    Widget   build ( BuildContext   context )   {      return   MaterialApp (        title :   'My Drawer' ,        debugShowCheckedModeBanner :   false ,        theme :   ThemeData ( primarySwatch :   Colors . pink ),        home :   MyHomePage (),        routes :   < String ,   WidgetBuilder >{   ...