• codeonsunday Profile Picture

    Code On Sunday @codeonsunday

    2 years ago

    Many #Flutter developers are writing the "logic" code inside the build() method. The SDK does it as well. Is it the same as how we use JS to modify CSS and DOM elements? Is it imperative? I think what I'm building will fix this.

    7 2 18 10K 4
  • ASalvadorini Profile Picture

    Alessio Salvadorini 💙 @ASalvadorini

    2 years ago

    @millergodev build() methods should only build, nothing else. Any logic goes into controllers. Can you point me out to where the SDK does that instead?

    2 0 10 1K 1
  • nank1ro Profile Picture

    Alexandru Mariuti @nank1ro

    2 years ago

    @millergodev What are you building? To what logic are you referring?

    1 0 1 283 0
  • mariopepe_ Profile Picture

    CodingMario @mariopepe_

    2 years ago

    @millergodev Many flutter total novices arr writing…* Here ya go fixed If the third month you are learning flutter u still putting stuff in build method, it means u didn’t want to learn it, just wanted to hack some stuff together sticking chat gpt copied code

    0 0 1 197 0
  • HarrySild Profile Picture

    Harry Sild @HarrySild

    2 years ago

    @millergodev Anything requiring context for lookups like visual properties vs theming properties getting resolved live in the build method.

    0 0 1 78 0
  • at07076727 Profile Picture

    barosbaros.sol 🔤 @at07076727

    2 years ago

    @millergodev I agree, this isn’t the best practice, the business logic & UI logic should be separated otherwise it’ll be a big mass. In my Flutter projects I’m using a separate Controller class to handle these logics, on UI side I’m just calling controller’s method it’s way cleaner.

    1 0 1 429 1
  • callofthe__void Profile Picture

    Call of the Void @callofthe__void

    2 years ago

    @millergodev That's a bad practice I believe. In build methods, I have only Widgets and their constructor calls. Nothing else.

    1 0 1 229 0
  • WuBWuFWoLF Profile Picture

    Mark Ass Brownie @WuBWuFWoLF

    2 years ago

    @millergodev We can't access context elsewhere

    1 0 0 124 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 www.instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro x profile viewer