Summary
Keywords
Full Transcript
In this flutter tutorial, we are going to create custom widgets in a flutter. PLAYLIST: https://youtube.com/playlist?list=PL5jb9EteFAODi35jPznP37hnR2sTHOOTU Custom widgets in flutter are created to avoid code duplication, over Coding, and to avoid any wastage of time. Custom Widgets in flutter are called composition in a flutter. Custom widgets can be created using two ways either in Function or in Class. Whereas to create a dynamic custom widget we have to create a class and pass all the variables in the constructor. SOURCE CODE ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 🧑💻 CODE & RESOURCES https://codingwitht.com/flutter-crash-course ❤️ COURSES ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ► FLUTTER CRASH COURSE https://youtube.com/playlist?list=PL5jb9EteFAODi35jPznP37hnR2sTHOOTU ► LOGIN APP with GETX https://youtube.com/playlist?list=PL5jb9EteFAODpfNJu8U2CMqKFp4NaXlto ► E-COMMERCE APP https://youtube.com/playlist?list=PL5jb9EteFAOAusKTSuJ5eRl1BapQmMDT6&si=I37kajRu8gkjJm82 ❤️ SUPPORT ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Like and Subscribe @CODINGwithT for more amazing content ► Subscribe https://www.youtube.com/Codingwithtea?sub_confirmation=1 FOLLOW @CodingwithT on SOCIAL MEDIA! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 💻 Facebook: https://facebook.com/CodingwithTea 💻 Instagram: https://www.instagram.com/coding_with_tea/ #flutter_crash_course_2023 #coding_with_T #flutter_course_2023 ⛔ CHAPTERS 0:00 Intro 1:50 Create Layout Using Multiple Widgets 3:47 Problem with Static Layout 4:49 Solution 1: Extract Method (Function) 6:00 Solution 2: Extract Widget Method 8:02 Make Widget Dynamic 11:44 Call Dynamic Widget for Use
