Flutter - The FractionallySizedBox Widget (Relative/Responsive Layouts)

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 9

  • @marflage
    @marflage 3 года назад +1

    It did help. Thanks a tonne! Next up: LayoutBuilder, pretty please

    • @FlutterMentor
      @FlutterMentor  3 года назад +1

      I have a video on that already! Here you go: ruclips.net/video/jBnf9mQueHU/видео.html

  • @nested9301
    @nested9301 3 года назад

    Hey my friend i'm really struggling with the listview index how can i access it with provider in all my screen this is a topic no one talk about

    • @FlutterMentor
      @FlutterMentor  3 года назад

      Hi there, what do you mean exactly? You want to access the index how? To do what?

    • @nested9301
      @nested9301 3 года назад

      @@FlutterMentor ikeep passing the index into the constructor i need to acces it with provider how can i do it ? thank you !

    • @nested9301
      @nested9301 3 года назад

      i finally find work around :
      onTap: () {
      Navigator.push(
      context,
      MaterialPageRoute(builder: (context) {
      Provider.of(context, listen: false)
      .index = index;
      return MessageDetailsPage();
      }),
      );
      },

    • @FlutterMentor
      @FlutterMentor  3 года назад +1

      @@nested9301 sorry for not replying sooner, but seems like it was for the better! When we have to figure it out on our own, we never forget it after that haha. Well done!

    • @nested9301
      @nested9301 3 года назад

      @@FlutterMentor thanks mate and don't worry hehe keep on coding :D