万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    HookConsumerWidgetのウィジットでのuseScrollController

      final ctrl = useScrollController();
    
      @override
      Widget build(BuildContext context, WidgetRef ref) {
        // final ctrl = ref.watch(_scrollController);
    ======== Exception caught by widgets library =======================================================
    The following assertion was thrown building Builder(dirty):
    Hooks can only be called from the build method of a widget that mix-in `Hooks`.
    
    Hooks should only be called within the build method of a widget.
    Calling them outside of build method leads to an unstable state and is therefore prohibited.
    'package:flutter_hooks/src/framework.dart':
    Failed assertion: line 133 pos 12: 'HookElement._currentHookElement != null'