Q : What is the difference between ( Widgetapp ) and ( MaterialApp ) ??
A :
• Both are classes used to set up and configure an app .
• Both are serving as the root of your app’s widget tree.
• Difference
1 WidgetsApp
is a lower-level class that provides basic app functionality
includes essential app features like navigation and localization
does not inherently use the Material Design language.
Use Case: It is used for apps that need a custom or non-Material UI design .
2 Material App
is a higher-level class built on top of WidgetsApp
It incorporates the Material Design language and provides a wide range of Material Design specific widgets and features.
Use Case: It is used for apps that intend to follow Material Design guidelines
--------------------------------------------------------
my courses in udemy
dart course :
https://www.udemy.com/course/dart-pro...
flutter course :
https://www.udemy.com/course/flutter-...
متنساش تعمل تقييم
#Ahmed_Elsaid_programming #ahmed_elsaid #java #javaprogramming #fluttertips #flutter_tips_A_E_A #javatutorial #javafx #thecodereport #programming #tech #mysql #xampp #xamppserver #xamppmysql #database
phone : +201001398831
gmail : [email protected]
linkedin : / ahmed-elsaid-35a669249
channel whatsapp : https://www.whatsapp.com/channel/0029...
githup : https://github.com/Ahmed-elsaid-AEA