[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"me":3,"catalog:en:mobile\u002Ffl-flutter-state-management-widgets":4,"config":211},null,{"field_key":5,"field_name":6,"seniority":7,"topic_key":8,"topic_name":9,"spec_key":7,"spec_name":7,"locale":10,"cell_total":11,"field_total":12,"seniorities":13,"topics":17,"specs":112,"samples":126},"mobile","Mobile","","fl-flutter-state-management-widgets","Fl Flutter State Management Widgets","en",75,2400,[14,15,16],"junior","mid","senior",[18,21,24,27,30,33,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109],{"key":19,"name":20,"count":11},"fl-dart-async-isolates","Fl Dart Async Isolates",{"key":22,"name":23,"count":11},"fl-dart-language-null-safety","Fl Dart Language Null Safety",{"key":25,"name":26,"count":11},"fl-flutter-persistence-storage","Fl Flutter Persistence Storage",{"key":28,"name":29,"count":11},"fl-flutter-platform-channels-lifecycle","Fl Flutter Platform Channels Lifecycle",{"key":31,"name":32,"count":11},"fl-flutter-rendering-widget-tree","Fl Flutter Rendering Widget Tree",{"key":8,"name":9,"count":11},{"key":35,"name":36,"count":11},"ios-core-data-swiftdata-persistence","Ios Core Data Swiftdata Persistence",{"key":38,"name":39,"count":11},"ios-lifecycle-background-execution","Ios Lifecycle Background Execution",{"key":41,"name":42,"count":11},"ios-memory-management-arc","Ios Memory Management Arc",{"key":44,"name":45,"count":11},"ios-swift-concurrency-structured","Ios Swift Concurrency Structured",{"key":47,"name":48,"count":11},"ios-swift-type-system-optionals","Ios Swift Type System Optionals",{"key":50,"name":51,"count":11},"ios-swiftui-state-rendering","Ios Swiftui State Rendering",{"key":53,"name":54,"count":11},"kt-android-lifecycle-background-execution","Kt Android Lifecycle Background Execution",{"key":56,"name":57,"count":11},"kt-android-memory-context-leaks","Kt Android Memory Context Leaks",{"key":59,"name":60,"count":11},"kt-android-room-persistence","Kt Android Room Persistence",{"key":62,"name":63,"count":11},"kt-jetpack-compose-state-recomposition","Kt Jetpack Compose State Recomposition",{"key":65,"name":66,"count":11},"kt-kotlin-coroutines-flow","Kt Kotlin Coroutines Flow",{"key":68,"name":69,"count":11},"kt-kotlin-type-system-null-safety","Kt Kotlin Type System Null Safety",{"key":71,"name":72,"count":11},"mobile-distribution-ci","Mobile Distribution Ci",{"key":74,"name":75,"count":11},"mobile-navigation","Mobile Navigation",{"key":77,"name":78,"count":11},"mobile-networking-offline","Mobile Networking Offline",{"key":80,"name":81,"count":11},"mobile-performance-battery","Mobile Performance Battery",{"key":83,"name":84,"count":11},"mobile-security-storage","Mobile Security Storage",{"key":86,"name":87,"count":11},"mobile-state-data","Mobile State Data",{"key":89,"name":90,"count":11},"mobile-testing-automation","Mobile Testing Automation",{"key":92,"name":93,"count":11},"mobile-ui-lifecycle","Mobile Ui Lifecycle",{"key":95,"name":96,"count":11},"rn-javascript-typescript-fundamentals","Rn Javascript Typescript Fundamentals",{"key":98,"name":99,"count":11},"rn-native-bridge-modules","Rn Native Bridge Modules",{"key":101,"name":102,"count":11},"rn-navigation-lifecycle","Rn Navigation Lifecycle",{"key":104,"name":105,"count":11},"rn-networking-persistence-offline","Rn Networking Persistence Offline",{"key":107,"name":108,"count":11},"rn-performance-rendering","Rn Performance Rendering",{"key":110,"name":111,"count":11},"rn-react-hooks-state-management","Rn React Hooks State Management",[113,117,120,123],{"key":114,"name":115,"count":116},"android-kotlin","Android (Kotlin)",450,{"key":118,"name":119,"count":116},"flutter","Flutter",{"key":121,"name":122,"count":116},"ios-swift","iOS (Swift)",{"key":124,"name":125,"count":116},"react-native","React Native",[127,145,158,171,185,198],{"id":128,"topic":9,"difficulty":129,"body":130,"options":131,"correct_key":133,"explanation":144},"019fa93e-4e90-741a-83c3-53a76addd357",1,"What is the primary purpose of the `initState()` method in a `State` object?",[132,135,138,141],{"key":133,"text":134},"a","One-time setup that runs once when the State object is first inserted into the tree.",{"key":136,"text":137},"b","Code that runs every time the widget rebuilds.",{"key":139,"text":140},"c","A method that tears down resources before the widget is removed.",{"key":142,"text":143},"d","A callback invoked only when the parent widget's constructor arguments change.","`initState()` is called once, immediately after the State object is created and inserted into the tree — the right place for one-time setup like subscribing to a stream or initializing a controller.",{"id":146,"topic":9,"difficulty":129,"body":147,"options":148,"correct_key":133,"explanation":157},"019fa93e-4e91-71b2-9332-1c2fb54824a6","What is `dispose()` responsible for in a `State` object?",[149,151,153,155],{"key":133,"text":150},"Releasing resources before State is removed.",{"key":136,"text":152},"Rebuilding the widget tree from scratch.",{"key":139,"text":154},"Running before every single `build()` call.",{"key":142,"text":156},"Persisting the widget's state to disk automatically.","`dispose()` runs once, right before the State object is discarded (e.g. when the widget is permanently removed from the tree) — the place to cancel stream subscriptions, dispose `AnimationController`s, close `TextEditingController`s, etc.",{"id":159,"topic":9,"difficulty":129,"body":160,"options":161,"correct_key":142,"explanation":170},"019fa93e-4e91-7c77-809d-3f04a7847c66","A widget calls `setState(() { count++; })` inside its build method's returned callback. What does `setState` actually cause?",[162,164,166,168],{"key":133,"text":163},"It immediately repaints the pixel buffer without calling `build()` again.",{"key":136,"text":165},"It only updates the variable; the UI never reflects the change.",{"key":139,"text":167},"It rebuilds every widget in the entire app, not just this one.",{"key":142,"text":169},"It marks the widget dirty and schedules a rebuild so `build()` runs again.","`setState` runs the given callback (mutating the field) and then tells the framework this widget is dirty, scheduling it to be rebuilt on the next frame — `build()` is called again and the new value is reflected in the returned widget tree.",{"id":172,"topic":9,"difficulty":173,"body":174,"options":175,"correct_key":142,"explanation":184},"019fa93e-4e92-768e-9556-4f89df6ad338",2,"Why does calling `setState` outside a `State` object's own lifetime (e.g. after `dispose()`) throw an error?",[176,178,180,182],{"key":133,"text":177},"Because `setState` is a static method that ignores object identity entirely.",{"key":136,"text":179},"Because Dart forbids calling any method after a class instance is created.",{"key":139,"text":181},"Because the widget's constructor arguments become immutable after dispose.",{"key":142,"text":183},"Because the State no longer has an attached element to schedule a rebuild for.","Once `dispose()` has run, the State is detached from the element tree — there is no longer a valid element to mark dirty, so calling `setState` at that point is a lifecycle violation and throws.",{"id":186,"topic":9,"difficulty":173,"body":187,"options":188,"correct_key":136,"explanation":197},"019fa93e-4e95-7e12-a7ee-ba3b40e14076","A `StatefulWidget`'s parent rebuilds and passes new constructor arguments to the same widget (same position\u002Ftype, same Key). Which State lifecycle method is called to let the State react to the new arguments?",[189,191,193,195],{"key":133,"text":190},"`initState()`, because a whole new State object is always created.",{"key":136,"text":192},"`didUpdateWidget(oldWidget)`, giving access to the previous configuration.",{"key":139,"text":194},"No method is called; the State object can never see the new constructor arguments.",{"key":142,"text":196},"`dispose()`, since new arguments count as removal of the old widget.","When a widget is rebuilt with the same runtime type and Key, Flutter reuses the same State object and calls `didUpdateWidget(oldWidget)` so it can compare `oldWidget` against the new `widget` field and react (e.g. re-subscribe if a passed-in stream changed).",{"id":199,"topic":9,"difficulty":129,"body":200,"options":201,"correct_key":133,"explanation":210},"019fa93e-4e99-79a5-b0bf-f713078c222f","What problem does `InheritedWidget` solve?",[202,204,206,208],{"key":133,"text":203},"It lets a descendant read an ancestor's value without explicit constructor passing.",{"key":136,"text":205},"It replaces the need for a `build()` method entirely.",{"key":139,"text":207},"It permanently stores data in the device's local database.",{"key":142,"text":209},"It forces every widget in the subtree to rebuild every frame regardless of changes.","`InheritedWidget` is Flutter's mechanism for efficient, implicit value propagation down the tree — a descendant calls `context.dependOnInheritedWidgetOfExactType\u003CT>()` to read the value and register itself to be notified if that value changes, without manual prop-drilling.",{"fields":212,"seniorities":388,"interview_shapes":389,"locales":394,"oauth":396,"question_count":399,"coach_enabled":400,"jd_match_enabled":400},[213,238,258,275,299,312,331,340,362,369,375,382],{"key":214,"name_tr":215,"name_en":215,"sort":129,"specializations":216},"backend","Backend",[217,220,223,226,229,232,235],{"key":218,"name":219,"field":214},"general","Genel",{"key":221,"name":222,"field":214},"go","Go",{"key":224,"name":225,"field":214},"python","Python",{"key":227,"name":228,"field":214},"java","Java",{"key":230,"name":231,"field":214},"csharp","C#\u002F.NET",{"key":233,"name":234,"field":214},"nodejs","Node.js",{"key":236,"name":237,"field":214},"php","PHP",{"key":239,"name_tr":240,"name_en":240,"sort":173,"specializations":241},"frontend","Frontend",[242,243,246,249,252,255],{"key":218,"name":219,"field":239},{"key":244,"name":245,"field":239},"javascript","JavaScript",{"key":247,"name":248,"field":239},"typescript","TypeScript",{"key":250,"name":251,"field":239},"react","React",{"key":253,"name":254,"field":239},"vue","Vue",{"key":256,"name":257,"field":239},"angular","Angular",{"key":259,"name_tr":260,"name_en":260,"sort":261,"specializations":262},"fullstack","Fullstack",3,[263,264,265,266,267,268,269,270,271,272,273,274],{"key":218,"name":219,"field":259},{"key":221,"name":222,"field":214},{"key":224,"name":225,"field":214},{"key":227,"name":228,"field":214},{"key":230,"name":231,"field":214},{"key":233,"name":234,"field":214},{"key":236,"name":237,"field":214},{"key":244,"name":245,"field":239},{"key":247,"name":248,"field":239},{"key":250,"name":251,"field":239},{"key":253,"name":254,"field":239},{"key":256,"name":257,"field":239},{"key":276,"name_tr":277,"name_en":277,"sort":278,"specializations":279},"devops-cloud","DevOps \u002F Cloud",4,[280,281,284,287,290,293,296],{"key":218,"name":219,"field":276},{"key":282,"name":283,"field":276},"aws","AWS",{"key":285,"name":286,"field":276},"gcp","GCP",{"key":288,"name":289,"field":276},"azure","Azure",{"key":291,"name":292,"field":276},"kubernetes","Kubernetes",{"key":294,"name":295,"field":276},"terraform","Terraform",{"key":297,"name":298,"field":276},"linux","Linux",{"key":300,"name_tr":301,"name_en":301,"sort":302,"specializations":303},"ai-engineer","AI Engineer",5,[304,305,306,309],{"key":218,"name":219,"field":300},{"key":224,"name":225,"field":300},{"key":307,"name":308,"field":300},"llm-rag","LLM\u002FRAG",{"key":310,"name":311,"field":300},"mlops","MLOps",{"key":313,"name_tr":314,"name_en":315,"sort":316,"specializations":317},"database","Veritabanı","Database",6,[318,319,322,325,328],{"key":218,"name":219,"field":313},{"key":320,"name":321,"field":313},"postgresql","PostgreSQL",{"key":323,"name":324,"field":313},"mysql","MySQL",{"key":326,"name":327,"field":313},"mongodb","MongoDB",{"key":329,"name":330,"field":313},"redis","Redis",{"key":5,"name_tr":332,"name_en":6,"sort":333,"specializations":334},"Mobil",7,[335,336,337,338,339],{"key":218,"name":219,"field":5},{"key":121,"name":122,"field":5},{"key":114,"name":115,"field":5},{"key":118,"name":119,"field":5},{"key":124,"name":125,"field":5},{"key":341,"name_tr":342,"name_en":343,"sort":344,"specializations":345},"security","Güvenlik","Security",8,[346,347,350,353,356,359],{"key":218,"name":219,"field":341},{"key":348,"name":349,"field":341},"appsec","AppSec",{"key":351,"name":352,"field":341},"offensive-pentest","Offensive \u002F Pentest",{"key":354,"name":355,"field":341},"cloud-security","Cloud Security",{"key":357,"name":358,"field":341},"devsecops","DevSecOps",{"key":360,"name":361,"field":341},"blue-team-incident","Blue Team \u002F Incident",{"key":363,"name_tr":364,"name_en":365,"sort":366,"specializations":367},"qa-test-automation","QA \u002F Test Otomasyonu","QA \u002F Test Automation",9,[368],{"key":218,"name":219,"field":363},{"key":370,"name_tr":371,"name_en":371,"sort":372,"specializations":373},"data-engineer","Data Engineer",10,[374],{"key":218,"name":219,"field":370},{"key":376,"name_tr":377,"name_en":378,"sort":379,"specializations":380},"game-dev","Oyun Geliştirme","Game Development",11,[381],{"key":218,"name":219,"field":376},{"key":383,"name_tr":384,"name_en":384,"sort":385,"specializations":386},"ml-engineer","ML Engineer",12,[387],{"key":218,"name":219,"field":383},[14,15,16],{"junior":390,"mid":392,"senior":393},{"questions":391,"median_sec":3},20,{"questions":391,"median_sec":3},{"questions":391,"median_sec":3},[395,10],"tr",[397,398],"google","github",21750,true]