Creating an Animated Sidebar Menu in Flutter with Rive - Episode 5

Поделиться
HTML-код
  • Опубликовано: 12 янв 2023
  • 🎬 Episode 1: • Build an Animated App ...
    🎬 Episode 2: • Build an Animated App ...
    🎬 Episode 3: • Build an Animated App ...
    🎬 Episode 4: • Animated Bottom Naviga...
    In this episode, I'll demonstrate how to create an animated sidebar in Flutter using Rive Animated Icons. Thank you for following the series, and please let me know your thoughts.
    ✅ Episode 4 code: cutt.ly/Q2LIIde
    🔥 Source Code: cutt.ly/b14ZAuh
    ►For the 3D intro, I'm using Rotato: bit.ly/3heGagj
    ►Support Us: / theflutterway
    ► Social Media
    GitHub: github.com/abuanwar072
    Twitter: / theflutterway
    Twitter: / abuanwar072 (my personal profile)
    Facebook: / theflutterway
    ► Timestamps
    0:00 Intro
    Thanks for watching!
    Make sure to like + Subscribe For More!

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

  • @TheFlutterWay
    @TheFlutterWay  Год назад +1

    FlutterShop - Premium shop UI kit
    Source Code👉 cutt.ly/rFOscFo

  • @binarnesia
    @binarnesia Год назад +1

    Wow the ui looks really good, I'll try this one

  • @CLY_-mj5tg
    @CLY_-mj5tg Год назад +2

    thank you dear. It has been an incredible adventure, I think rive animations should be in all applications!

  • @mahmoud2000
    @mahmoud2000 Год назад +2

    Fantastic, very professional, thank you so much

  • @pazfelipe
    @pazfelipe Год назад +11

    The best ever Flutter channel on youtube

  • @CarlosHenrique-er7zq
    @CarlosHenrique-er7zq Год назад +1

    Amazing job, thanks for all!

  • @luismiguelagamezaguas1710
    @luismiguelagamezaguas1710 Год назад +2

    It's just amazing man.

  • @receptopaktas9276
    @receptopaktas9276 Год назад +10

    The page change video should be Episode 6. We need this very much. Anyone who watches the first 5 videos can get hooked on it. Thanks for your quality content. 🙏

    • @YS_Yousef
      @YS_Yousef 5 месяцев назад

      it is really easy brother/sister no need for a full video for that

    • @towgenrd7780
      @towgenrd7780 4 месяца назад

      @@YS_Yousef How can I do it bro?

    • @YS_Yousef
      @YS_Yousef 4 месяца назад

      how will i tell you in the comments 😅
      @@towgenrd7780

  • @developerzull
    @developerzull 11 месяцев назад

    Very good!
    So nice design 👍

  • @dmytrosaravas3421
    @dmytrosaravas3421 3 месяца назад

    Thanks! Super animations!!

  • @josealejandrosanchez4180
    @josealejandrosanchez4180 10 месяцев назад

    termine estos cursos completo, muy bueno aprendí cosas que no sabia de flutter

  • @amorenog5
    @amorenog5 Год назад +8

    I customized my own screen but used some of your ideas. Really cool videos.

    • @clovisstanford6515
      @clovisstanford6515 Год назад

      where you learn this advanced flutter

    • @amorenog5
      @amorenog5 Год назад

      @@clovisstanford6515 Self-taught with videos and making my own apps it’s a good way to learn.

  • @mojtabasaebi6096
    @mojtabasaebi6096 Год назад +1

    im really happy to find you :) thank you for great and high quality content and project ... we waiting for more Episode of this curse

  • @nicoletti05
    @nicoletti05 Год назад +1

    Where do I click to like more than once? Terrific! Tks for sharing!

  • @hashankannangara8723
    @hashankannangara8723 Год назад +1

    Wow!!! thats awesome!!!😍😍

  • @MAW__
    @MAW__ Год назад +1

    This is SO COOL! 🤩

  • @davidhrgl
    @davidhrgl Год назад +2

    Amazing, Good Job!

  • @UnesSaadaoui
    @UnesSaadaoui 9 месяцев назад

    thank you brother.❤❤❤

  • @aliafsarian1379
    @aliafsarian1379 2 месяца назад

    Enjoyed buddy❤

  • @antoniiocg_7
    @antoniiocg_7 Год назад +2

    Nice video mate! Could someone help me explaining how to visualize the colors in that way when you are write 'Colors.' in VS Code? I can´t see that previsualization that eases the choice.

  • @gillesashley9314
    @gillesashley9314 Год назад +2

    Flutter is the G.O.A.T.

  • @sunhsiang6644
    @sunhsiang6644 Год назад

    Amazing

  • @aliounesakho8582
    @aliounesakho8582 Год назад +3

    Amaaaaaazing

  • @vbk-no4pk
    @vbk-no4pk Год назад +1

    please guide me how can i perform onpressed function on these side menus to go to new screen.......

  • @arafathussain851
    @arafathussain851 2 месяца назад

    nice work brother!

  • @zhangkevin8147
    @zhangkevin8147 Год назад +1

    Nice share

  • @zaid4481
    @zaid4481 Год назад +2

    Good Job

  • @jacobbravo4002
    @jacobbravo4002 Год назад +1

    Super !.

  • @ffmasskama2537
    @ffmasskama2537 Год назад +1

    It's work tq ❤️❤️

  • @connelasikong8069
    @connelasikong8069 11 месяцев назад

    new subscriber!

  • @viveshoy
    @viveshoy 6 месяцев назад

    awesome
    awesome

  • @utsavff4076
    @utsavff4076 Год назад +1

    Kya aap next episode me overflow ki pb ko solve karva sak te hai ?

  • @hpsunday
    @hpsunday Год назад

    what extensions are you using on vscode?

  • @sunilkumar-om3kt
    @sunilkumar-om3kt Год назад +1

    What are the extensions your using

  • @cunningmentor
    @cunningmentor Год назад +1

    You are amazing

  • @rezaazizi-gh7pg
    @rezaazizi-gh7pg Год назад +1

    How can I make it open from the right side?

  • @wsemdawoodi7074
    @wsemdawoodi7074 Месяц назад

    I just mad cuz i can’t give you more than 1 like
    Very nice job sir
    I hope that i can be like you someday ❤

  • @leothehustler
    @leothehustler Год назад +2

    where to get these rive components

  • @towgenrd7780
    @towgenrd7780 4 месяца назад

    I want to know how I can make each menu button go to a different page, because as I see in the video if I add something to the press it will be like this for all the buttons

  • @neidsonsouza
    @neidsonsouza Год назад +2

    Awesome video!
    Anyone knows what vscode plugin is used to make the open-close parentheses be market as a tree?

    • @maelc9206
      @maelc9206 Год назад

      You mean the automatic comments that show which elements the brackets belong to ? It's juste the official Flutter plugin, that you should anyway install.

    • @neidsonsouza
      @neidsonsouza Год назад

      @@maelc9206 I'm talking about the vertical lines that link the begin of a widget and his child

    • @aduntoridasful
      @aduntoridasful Год назад +1

      @@neidsonsouza ruclips.net/video/nAmOt5_fMtU/видео.html

    • @neidsonsouza
      @neidsonsouza Год назад

      @@aduntoridasful Thank you!

    • @OneMoreJack
      @OneMoreJack 11 месяцев назад

      @@neidsonsouza what's plugin? please

  • @adrianavinade4880
    @adrianavinade4880 Год назад

    I can't use "RideUtils" , the code not found the property.
    What to need for using?
    Sorry for my english.
    I don't speak

  • @wukimus1
    @wukimus1 Год назад +2

    How would the navigation work for different pages?

    • @WaniTech
      @WaniTech 2 месяца назад

      The menu will close, with the screen you navigated, just like your home screen

  • @S-Lomar
    @S-Lomar 6 месяцев назад +1

    Thanks for sharing ❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕

  • @sharck1
    @sharck1 Год назад +8

    And now need Episode 6 with switch pages, routing 😅

    • @receptopaktas9276
      @receptopaktas9276 Год назад +1

      goes between pages but stays in the background

    • @osvaldomota838
      @osvaldomota838 Год назад

      @@receptopaktas9276 in which background? Could you tell me please 😅

  • @GC_PETS01
    @GC_PETS01 10 месяцев назад

    cool

  • @abdoulhamiddiallo1264
    @abdoulhamiddiallo1264 Год назад

    Hi, I'm trying to reproduce your code, but arrive at minute 7, or call you the "StateMachineController" in the "riveonInit" an error occurs which is as follows:
    ChromeProxyService: Failed to evaluate expression’FlutterErrorDetails’: InternalError: Expression evaluation in Async frames it’s not supported .No frame with the index 14. “
    Can you help me the solve this problem ?
    By the way , I like the content you offer

  • @greendiga
    @greendiga 5 месяцев назад

    Hi, I really enjoyed the course, I would like to see episode 6. As a beginner, I have a question, how do I go to the next page when clicking? Thanks for the informative content

  • @tejasjani2544
    @tejasjani2544 3 месяца назад

    Better than CSS.

  • @danielalessandro7031
    @danielalessandro7031 11 месяцев назад +1

    How to navigate from screen to screen with menu

  • @osvaldomota838
    @osvaldomota838 Год назад +2

    Hello good ones, where can you put the pages to open them with the Sidebar? Even though I'm looking for it, I don't know how to integrate it. If someone knows, please help me. I'm new to this and I like the sidebar that this project has, but I don't know how to make it work so that it opens other pages. :(

    • @TheCedrc
      @TheCedrc Год назад

      hey you learn it?

    • @osvaldomota838
      @osvaldomota838 Год назад

      @@TheCedrc if you mean did I manage to fix it, no, I tried several ways but none worked so I had to use another one from a different video than this one but the other one used a different method and I had to remove the sidebar and the navbar. :'(

    • @TheCedrc
      @TheCedrc Год назад

      İ fix it only write navbar page index and state

    • @osvaldomota838
      @osvaldomota838 Год назад

      @@TheCedrc in the page called entry_point.dart there is a child that houses the HomePage(), as far as I can understand there it tells you which page to start but in the section of the button that in my case I think is called menu_btn.dart I think that's where it goes but I do not know where, and put in several ways and even based on other videos but still did not come out, if you can help me with just activate the navbar really would make me very happy bro, oh if you could provide the part where you wrote that section i would appreciate it :c

  • @faisalhatila1844
    @faisalhatila1844 10 месяцев назад

    at 12:55, I am getting an error
    Another exception was thrown: LateInitializationError: Field 'isMenuOpen' has
    not been initialized.
    this is my code
    I rive icon is different that's why my state machine name is different
    class UploadReceipt extends StatefulWidget {
    const UploadReceipt({super.key});
    @override
    State createState() => _UploadReceiptState();
    }
    class _UploadReceiptState extends State {
    late SMIBool isMenuOpen;
    @override
    Widget build(BuildContext context) {
    return Scaffold(
    backgroundColor: Colors.amber[50],
    body: Stack(
    children: [
    Padding(
    padding: const EdgeInsets.only(top: 150.0),
    child: Text("Upload Receipt"),
    ),
    MenuBtn(
    riveOnInit: (artboard) {
    StateMachineController controller = RiveUtils.getRiveController(
    artboard,
    stateMachineName: "State Machine 1");
    isMenuOpen = controller.findSMI("isOpen") as SMIBool;
    isMenuOpen.value = true;
    },
    press: () {
    isMenuOpen.value = !isMenuOpen.value;
    },
    )
    ],
    ));
    }
    }
    class MenuBtn extends StatelessWidget {
    const MenuBtn({
    Key? key,
    required this.press,
    required this.riveOnInit,
    }) : super(key: key);
    final VoidCallback press;
    final ValueChanged riveOnInit;
    @override
    Widget build(BuildContext context) {
    return SafeArea(
    child: GestureDetector(
    onTap: press,
    child: Container(
    margin: EdgeInsets.only(left: 16),
    height: 40,
    width: 40,
    decoration: BoxDecoration(
    color: Colors.white,
    shape: BoxShape.circle,
    boxShadow: [
    BoxShadow(
    color: Colors.black12, offset: Offset(0, 3), blurRadius: 8)
    ]),
    child: RiveAnimation.asset(
    "assets/rive_assets/menu_button_1.riv",
    onInit: riveOnInit,
    ),
    ),
    ),
    );
    }
    }
    import 'package:rive/rive.dart';
    class RiveUtils {
    static StateMachineController getRiveController(Artboard artboard,
    {stateMachineName = "State Machine 1"}) {
    StateMachineController? controller =
    StateMachineController.fromArtboard(artboard, stateMachineName);
    artboard.addController(controller!);
    return controller;
    }
    }

    • @casp9957
      @casp9957 7 месяцев назад +1

      not sure but try removing "late" from your isMenuOpen variable or remove "const" from your constructer or try removing them both

  • @user-hg5fd8tp5g
    @user-hg5fd8tp5g Месяц назад

    Please how i can select colors in design❤

  • @mattmatt5925
    @mattmatt5925 Год назад

    I have a different question. Song name?

  • @adeebmark
    @adeebmark Год назад

    how can i get a call back to update the screen to the selected index ?

  • @wukimus1
    @wukimus1 Год назад

    what is this sound track?

  • @yisahkelvin1532
    @yisahkelvin1532 Год назад +1

    Please,most of the flutter apps in RUclips are not responsive. Is this responsive?

  • @huseyinburakinci2755
    @huseyinburakinci2755 4 месяца назад

    Flutter Rive code How can I add text under submenu icons?

  • @zahaanmahajan1606
    @zahaanmahajan1606 Год назад +4

    external static Never _throw(Object error, StackTrace stackTrace);
    why is this error showing after I try to include the animation part to the rive icons when I restart the app?
    also if i do the hot reload, the below error shows up:
    _CastError (Null check operator used on a null value)
    """ FOUND THE PROBLEM """"
    It is in the home icon,
    It is HOME_interactivity not HOME_Interactivity
    i is in lowercase, it took me 7 hours to figure that out

    • @mazenshawky
      @mazenshawky Год назад +2

      Make sure that in the model, home stateMachineName is "HOME_interactivity". 'i' is small in interactivity word for this icon

    • @nozo8488
      @nozo8488 Год назад +2

      Thanks man.

  • @ZezoTalaat
    @ZezoTalaat Год назад

    source code link not working

  • @amangit1314
    @amangit1314 Год назад +2

    I am having an error of null check operator used on null value in rive_utils.dart file. anybody please help

    • @8899sarang
      @8899sarang Год назад +1

      home stateMachineName is "HOME_interactivity". 'i' is small in interactivity word

    • @XxSouIxX
      @XxSouIxX Год назад

      @@8899sarang Thank you!

    • @Beacon_Bacon
      @Beacon_Bacon 11 месяцев назад

      @@8899sarang I couldn't figure this out for the life of me. Thank you so much!

  • @thepun-isher
    @thepun-isher 2 месяца назад

    There will be no hover in mobile app, so why that animation?

  • @superuser8636
    @superuser8636 Год назад

    How does this look on the browser? Can you DM me?

  • @keremaydn7837
    @keremaydn7837 Год назад

    What is the music?

  • @eldarkk4566
    @eldarkk4566 Год назад +1

    damn boy

  • @seemscurious
    @seemscurious 3 месяца назад

    Good video friend!
    I need help:
    How can I download .riv icons? You could make a video explaining it.

  • @rezaazizi-gh7pg
    @rezaazizi-gh7pg Год назад +2

    please put rive file menu link

  • @akagrawal85
    @akagrawal85 Год назад

    where is sixth episode ?

  • @JohnAdenyuma
    @JohnAdenyuma 16 дней назад

    Can anybody please help me with the background music? Please?

  • @sagarvadnala7162
    @sagarvadnala7162 11 месяцев назад

    How to add routing to the Rive icons, without routing the app looks boring ):

  • @phamtomcr
    @phamtomcr Год назад

    git?

  • @kamalelrefaey
    @kamalelrefaey Год назад

    3:00

  • @Alivajid582
    @Alivajid582 8 месяцев назад

    Sir beginners ke full tutorial hindi me upload kare please 🙏

  • @ahmetcantemel59
    @ahmetcantemel59 11 месяцев назад

    I need more icons can you give artboard names for me

  • @user-pc9uo8my4b
    @user-pc9uo8my4b Год назад

    I was about to pay...
    If need to make a app, i already made a decision.

  • @user-uc5xo4tj2f
    @user-uc5xo4tj2f Год назад

    to push pages from sidebar you can create navigatorobserver, connect it to your navigator and in sidebar write construction like this: customNavigatorObserver.navigator!.pushNamed('/someroute')

    • @amannirmalkar3533
      @amannirmalkar3533 9 месяцев назад

      @@AshishGarg_ did you find any solutions ??

  • @kelana8894
    @kelana8894 Год назад +1

    This is for android or ios?

  • @mahmoudbadr132
    @mahmoudbadr132 Год назад +1

    where source code for this video

  • @youraccountissuspended
    @youraccountissuspended Год назад

    but why?

  • @zapeeosheikh
    @zapeeosheikh Год назад

    The Reasonable Sense able Google Developer Expert in Flutter - Dart

  •  Год назад +1

    This isn’t real in a app. 😂 can you make some page and push?

  • @kelvinkirwa4887
    @kelvinkirwa4887 Год назад

    anyone with the code to help me please .

  • @Albadry13
    @Albadry13 Год назад

    المصمم عربي ؟

  • @xeno7828
    @xeno7828 Год назад +1

    Yeee))

  • @shakibhossen1970
    @shakibhossen1970 Год назад

    video is so fast to learn otherwise its good

    • @TheFlutterWay
      @TheFlutterWay  Год назад

      Thanks for the feedback, you can slow it down like 0.5 speed, and I’m planning to publish videos with voice over.

    • @achieverstv8244
      @achieverstv8244 Год назад

      Yeah, that would be great

  • @naeeminformationtv9953
    @naeeminformationtv9953 Год назад

    please Password send me

  • @flutterdeveloperabir1782
    @flutterdeveloperabir1782 Год назад +1

    Why are u using custom code?
    Using the Flutter package is quite easy

    • @TheFlutterWay
      @TheFlutterWay  Год назад

      What do you mean by custom code?

    • @flutterdeveloperabir1782
      @flutterdeveloperabir1782 Год назад

      @@TheFlutterWay Good package is available brother, so why write so much code

    • @mmokenape4730
      @mmokenape4730 Год назад

      @@flutterdeveloperabir1782 What's the package name?

    • @flutterdeveloperabir1782
      @flutterdeveloperabir1782 Год назад

      Using the Flutter package is quite easy

    • @hashankannangara8723
      @hashankannangara8723 Год назад +1

      @@flutterdeveloperabir1782 you can use a package, but using a package, how do you learn to code something like this?

  • @pyiushved1647
    @pyiushved1647 Год назад

    Exception has occurred.
    _CastError (Null check operator used on a null value)
    this error occoured on 6:52
    import 'package:rive/rive.dart';
    class RiveUtils {
    static StateMachineController getRiveController(Artboard artboard, {stateMachineName = "State Machine 1"}) {
    StateMachineController? controller = StateMachineController.fromArtboard(artboard, stateMachineName);
    artboard.addController(controller!);
    return controller;
    }
    }

    • @mazenshawky
      @mazenshawky Год назад

      Make sure that in the model, home stateMachineName is "HOME_interactivity". 'i' is small in interactivity word for this icon

  • @S-Lomar
    @S-Lomar 6 месяцев назад

    Welcome to my pages 🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰

  • @dauviethieu9215
    @dauviethieu9215 10 месяцев назад

    RiveUtils.getRiveController not woking for me, i check flutter rive don't function