Flutter Navigation Bar: A Better Way | Lifting State | 2024

  Рет қаралды 1,295

FlutterCraft

FlutterCraft

Күн бұрын

Пікірлер: 11
@AdrianNaranjo-i9t
@AdrianNaranjo-i9t 5 ай бұрын
Thanks! Great video. Solved the exact problem I was having. Lifting state is definitely a little hard to grasp, but the video made sense after watching it a second time.
@flutter_craft
@flutter_craft 5 ай бұрын
It is tricky at first, but the added flexibility is well worth it.
@Aleinux
@Aleinux 5 ай бұрын
Awesom. The explanation was very clear and easy to understand.
@flutter_craft
@flutter_craft 5 ай бұрын
Glad it was helpful!
@BeginnersCoding65
@BeginnersCoding65 4 ай бұрын
please make more videos like this...
@chjc0apr0
@chjc0apr0 2 ай бұрын
Im plaining create a app using riverpod, should I switch it to lifting state ? Or could you make a video to compare the difference between riverpod, bloc, provider and lifting state ? Thanks for your helpful video.
@muhammadfajrirasid6964
@muhammadfajrirasid6964 5 ай бұрын
I think using this approach will mean that the animations on selected destination icon (e.g. background color change) will not work.
@hussamelfikky1351
@hussamelfikky1351 5 ай бұрын
why do i have to repeat CustomNavigationBar in every screen ? i didn't get it
@flutter_craft
@flutter_craft 5 ай бұрын
Using a single scaffold means you can’t set a different title or action button for each screen (see 8:00 in video) unless you nest scaffolds or shove code in the wrong places. By setting a scaffold for each screen and then calling the CustomNavigationBar widget from each nav screen can be customized.
@flagger1
@flagger1 5 ай бұрын
This method seems inefficient, couldn't you have just created appbars in each of the different screen's scaffold?? In that way they change and you'd still have to use one Bottom Nav
@flutter_craft
@flutter_craft 5 ай бұрын
Hi @flagger1, If I'm understanding your question correctly, this method is doing what you're asking: By creating a scaffold for each nav screen, you're able to create an appbar for each different screen. The nav bar is also part of the scaffold, but we don't want to repeat the code three times (inefficient, difficult to maintain), so we extract that into a custom widget.
Flutter Shared Preferences: Simple Data Storage | 2024
10:24
FlutterCraft
Рет қаралды 2,4 М.
The Flutter Pub & Pubspec Guide I Wish I Had When Starting Out
10:45
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 6 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Easiest Splash Screen Animation 2024 #ui #figmatutorial #figma
9:45
Ayesha | inkitdesigns
Рет қаралды 3,5 М.
How to build Adaptive UI with Flutter
34:06
Flutter
Рет қаралды 372 М.
Installing Flutter for Beginners: The EASY Way
17:38
The XR Life
Рет қаралды 458
Flutter Provider Tutorial - Flutter Provider State Management Guide
21:07
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 6 МЛН