Search is not available for this dataset
url
stringlengths 28
28
| title
stringlengths 17
100
| published
stringlengths 20
20
| id
stringlengths 16
31
| videoId
stringlengths 11
11
| text
stringlengths 2
370
| start
float64 0
2.36k
| end
float64 2.22
2.37k
|
|---|---|---|---|---|---|---|---|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t0.0
|
nIiHM41PPbQ
|
So for this video I'm going over the tutorial for next week which will be to create an infinite scrolling list using flutter only with no outside libraries.
| 0
| 11
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t16.0
|
nIiHM41PPbQ
|
Hi guys, welcome to this new video form that I want to try out.
| 16
| 20
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t20.0
|
nIiHM41PPbQ
|
It will be me going over the process of creating my tutorials.
| 20
| 25
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t25.0
|
nIiHM41PPbQ
|
That means getting something to work that I have on my list and then refactoring throughout the entire time to get it to a point where I can present it to you guys as a solution to the problem that I'm trying to solve.
| 25
| 37
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t37.0
|
nIiHM41PPbQ
|
This week my camera died half way through because also out of focus the entire time so you won't have my face in the bottom left corner.
| 37
| 46
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t46.0
|
nIiHM41PPbQ
|
It's also a lot longer. I'm not cutting out too much of the dead coding time so it won't be as fast past my tutorials.
| 46
| 55
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t55.0
|
nIiHM41PPbQ
|
If that's a problem please let me know and I can figure out a way to keep these long and informative but still come back to match my tutorial styles.
| 55
| 64
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t64.0
|
nIiHM41PPbQ
|
Without further ado let's start the tutorial with scroll, flutter project, a coal mine continuous scroll and once that's done we can open up the project in visual studio code.
| 64
| 82
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t82.0
|
nIiHM41PPbQ
|
I find it more difficult to follow for myself personally but I also don't want to have the code too small because you just won't be able to see anything.
| 82
| 91
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t91.0
|
nIiHM41PPbQ
|
We can just clean up the main view a little bit and then I'll set up a very basic app as I would have in a production code which if you don't know I have a tutorial that covers my architecture which is basically MVVM model view
| 91
| 111
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t111.0
|
nIiHM41PPbQ
|
but without the two way binding that's the only difference that I've seen so far so I can call it MVVM but I don't want to call it that because it's not exactly that.
| 111
| 123
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t123.0
|
nIiHM41PPbQ
|
So I just call it the provider architecture that I came up with so I'm going to set up a basic one of that and I'll just create a new file for the home view.
| 123
| 134
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t134.0
|
nIiHM41PPbQ
|
So this won't be a follow along tutorial that will come the following week so I might cut out some parts of the code.
| 134
| 142
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t142.0
|
nIiHM41PPbQ
|
I just wanted to be able to follow the thought that goes into creating the actual final tutorial code so all the steps might not be included but I'll try to keep everything in the app.
| 142
| 154
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t154.0
|
nIiHM41PPbQ
|
We'll import the tutorial stateless widget. This will be as well put our base view.
| 154
| 167
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t167.0
|
nIiHM41PPbQ
|
We'll use provider directly.
| 167
| 173
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t173.0
|
nIiHM41PPbQ
|
We can just add provider. I won't give it a version because it doesn't matter that much.
| 173
| 186
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t186.0
|
nIiHM41PPbQ
|
So for this we'll use a change notify provider like we always do. And if you don't know what I'm doing over here please watch my architecture tutorial.
| 186
| 193
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t193.0
|
nIiHM41PPbQ
|
It goes into depth. It's an actual full follow along tutorial. It goes into details about why the architecture is a certain way. You can follow along the steps and then see the reasons why I'm doing the things I'm doing now.
| 193
| 206
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t206.0
|
nIiHM41PPbQ
|
I'm just going to go through it quickly so we can start with the implementation.
| 206
| 211
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t211.0
|
nIiHM41PPbQ
|
So home view model class will be home view model that extends the change notify.
| 211
| 220
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t220.0
|
nIiHM41PPbQ
|
Change notify is what you use to indicate to your UI side or to your listener that the UI data has been changed.
| 220
| 230
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t230.0
|
nIiHM41PPbQ
|
And this allows you to rebuild your UI from the state of your model.
| 230
| 235
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t235.0
|
nIiHM41PPbQ
|
And what we'll use is string of items. I'm just going to expose that string as a property called items and it will return the items.
| 235
| 250
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t250.0
|
nIiHM41PPbQ
|
And what we'll do is in the constructor we will generate the new items.
| 250
| 257
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t257.0
|
nIiHM41PPbQ
|
Usually you would fetch this from a function and you'd use the unmodel ready callback and that will allow you to do a sync request where you can show buzz indicator and then fetch all of the items for your model.
| 257
| 272
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t272.0
|
nIiHM41PPbQ
|
So we'll just generate a list of string. We'll generate 15 items. And each item will return title and the index.
| 272
| 292
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t292.0
|
nIiHM41PPbQ
|
And that should be it for now. Change notify will be of type home view model.
| 292
| 302
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t302.0
|
nIiHM41PPbQ
|
The boulder expects a home view model that is created. So we'll just construct a new one.
| 302
| 310
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t310.0
|
nIiHM41PPbQ
|
And in the child, in this child, this child will have access to the home view model through either using provider of calls or we can use the consumer, which will automatically rebuild whenever you call notify listeners on the model.
| 310
| 330
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t330.0
|
nIiHM41PPbQ
|
This boulder does not take a model. This is actually the UI boulder function. So it gives you a context. It gives you back the model and it gives you back a static child.
| 330
| 342
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t342.0
|
nIiHM41PPbQ
|
This child you would use this child if you have some UI that will never be changed or updated through this build function and you supply it through the child.
| 342
| 352
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t352.0
|
nIiHM41PPbQ
|
If I want to supply some text that will stay the same, like my title, that's besides the point.
| 352
| 362
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t362.0
|
nIiHM41PPbQ
|
And what we want to do here is return a list view.
| 362
| 370
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t370.0
|
nIiHM41PPbQ
|
And we want to build that item count will be model that items are linked item boulder will give us the context.
| 370
| 381
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t381.0
|
nIiHM41PPbQ
|
And the index.
| 381
| 384
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t384.0
|
nIiHM41PPbQ
|
And we will return a container.
| 384
| 388
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t388.0
|
nIiHM41PPbQ
|
For now.
| 388
| 390
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t390.0
|
nIiHM41PPbQ
|
Yeah, so let's do some basic styling.
| 390
| 396
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t396.0
|
nIiHM41PPbQ
|
Let's do this.
| 396
| 400
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t400.0
|
nIiHM41PPbQ
|
While the app is ready.
| 400
| 403
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t403.0
|
nIiHM41PPbQ
|
I want to do the styling while the app is open so that we don't have to go back and adjust anything. Since it is not about the UI, it's just the functionality to keep on requesting more results.
| 403
| 416
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t416.0
|
nIiHM41PPbQ
|
I want to get to that part quick. So I'll skip all the styling talk or anything like that and we'll get straight.
| 416
| 422
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t422.0
|
nIiHM41PPbQ
|
So I just want to run the app and once it's up, I'll continue in the home view.
| 422
| 427
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t427.0
|
nIiHM41PPbQ
|
We just want to have a basic I can actually just start writing the code for it. We'll have a basic container. The height will be 70. The word will be the word will be full. We'll give it some margins.
| 427
| 441
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t441.0
|
nIiHM41PPbQ
|
I'm going to make the vertical margins more than the side.
| 441
| 445
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t445.0
|
nIiHM41PPbQ
|
It looks better but also because I want to have more spacing so that when we request our data, you can actually see the things happening instead of all the items being on top of each other.
| 445
| 455
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t455.0
|
nIiHM41PPbQ
|
So I have 15 items. I'm going to do that. I'm going to give it some decoration.
| 455
| 461
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t461.0
|
nIiHM41PPbQ
|
Give it a box decoration color will be white.
| 461
| 468
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t468.0
|
nIiHM41PPbQ
|
We'll give it a box shadow and the shadow will have a blur radius of four and the color will be colors will use gray and we'll use the shade 200.
| 468
| 484
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t484.0
|
nIiHM41PPbQ
|
And you should see some.
| 484
| 488
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t488.0
|
nIiHM41PPbQ
|
A fixed shadow. Okay, there we go. And then the child of each container will be model items and will show the index. I think.
| 488
| 502
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t502.0
|
nIiHM41PPbQ
|
We'll just put that inside of a text which will go to the top left and then we will align that to the center.
| 502
| 517
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t517.0
|
nIiHM41PPbQ
|
Now as I said earlier, I want to request the new results based on the index of the item.
| 517
| 525
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t525.0
|
nIiHM41PPbQ
|
So the first thing we need to do is add a callback function in some way that can tell us which item has been created.
| 525
| 534
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t534.0
|
nIiHM41PPbQ
|
And we'll do that by moving all of our UI for the container itself into its own widget file, which will then allow us to override the init state and then fire off a callback function in a stateful widget that will give us the index of the item that has just been created.
| 534
| 554
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t554.0
|
nIiHM41PPbQ
|
So we'll do that first and then just print out some values to see if it's working and then we'll continue with the solution for this list item container.
| 554
| 562
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t562.0
|
nIiHM41PPbQ
|
I want to put that into its own file or call it index away list item.
| 562
| 572
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t572.0
|
nIiHM41PPbQ
|
Naming will probably change afterwards, but for now that sounds very nice stateful widget and we'll call that index away list item.
| 572
| 586
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t586.0
|
nIiHM41PPbQ
|
Okay, so I still want the UI to be built on the outside so that you can use this in different lists.
| 586
| 592
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t592.0
|
nIiHM41PPbQ
|
So we'll pass in the widget that we want to show.
| 592
| 595
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t595.0
|
nIiHM41PPbQ
|
It'll be final and then we'll pass that to the construction for the bold itself.
| 595
| 603
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t603.0
|
nIiHM41PPbQ
|
We'll just return the widget.
| 603
| 605
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t605.0
|
nIiHM41PPbQ
|
Then the other part we want is that we want a function that will tell us item required item created.
| 605
| 614
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t614.0
|
nIiHM41PPbQ
|
It is a function.
| 614
| 615
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t615.0
|
nIiHM41PPbQ
|
It takes no parameters and you can pass it in from the outside.
| 615
| 618
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t618.0
|
nIiHM41PPbQ
|
We want to file off this function once in its state has been called.
| 618
| 626
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t626.0
|
nIiHM41PPbQ
|
So all we'll do is we'll check if item created is not now based on that, we will execute the function.
| 626
| 633
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t633.0
|
nIiHM41PPbQ
|
And now on the outside we'll say index away list item for the widget.
| 633
| 641
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t641.0
|
nIiHM41PPbQ
|
I should have called that child because that is the, I'm going to call it child because that is the convention.
| 641
| 650
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t650.0
|
nIiHM41PPbQ
|
So the child will be the UI passed in and then.
| 650
| 658
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t658.0
|
nIiHM41PPbQ
|
So my camera died, this is the first time doing anything with myself in the video so I'm not used to checking anything besides my mic.
| 658
| 673
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t673.0
|
nIiHM41PPbQ
|
So yeah, where were we?
| 673
| 676
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t676.0
|
nIiHM41PPbQ
|
Yes, let me restart this guy.
| 676
| 680
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t680.0
|
nIiHM41PPbQ
|
So we both index away list item and now bold function must never return now.
| 680
| 687
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t687.0
|
nIiHM41PPbQ
|
So we're going to be using widget.child.
| 687
| 691
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t691.0
|
nIiHM41PPbQ
|
Okay, so there we go.
| 691
| 693
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t693.0
|
nIiHM41PPbQ
|
We still have the functionality.
| 693
| 695
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t695.0
|
nIiHM41PPbQ
|
Now let's just test out the index away part.
| 695
| 699
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t699.0
|
nIiHM41PPbQ
|
If I go item created, I just want to print out the index item at index created.
| 699
| 712
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t712.0
|
nIiHM41PPbQ
|
Right.
| 712
| 713
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t713.0
|
nIiHM41PPbQ
|
So that's, I want to use this so that I can, how do I get this thing back?
| 713
| 721
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t721.0
|
nIiHM41PPbQ
|
You, I know it's going.
| 721
| 726
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t726.0
|
nIiHM41PPbQ
|
Control shift you, that's different.
| 726
| 729
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t729.0
|
nIiHM41PPbQ
|
You see now, so, okay.
| 729
| 731
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t731.0
|
nIiHM41PPbQ
|
So as I scroll, you can see that certain items are created.
| 731
| 735
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t735.0
|
nIiHM41PPbQ
|
The last one is 14 and 14 is created pretty early on.
| 735
| 741
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t741.0
|
nIiHM41PPbQ
|
By the time we get to the 11th item, then the last one is created.
| 741
| 748
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t748.0
|
nIiHM41PPbQ
|
So there's a three item difference, it seems like we'll, we'll use the full 15.
| 748
| 753
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t753.0
|
nIiHM41PPbQ
|
So when we get to the 15th item, we want to request new one, meaning when the 15th item is created, we know there's only three left.
| 753
| 761
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t761.0
|
nIiHM41PPbQ
|
So we want to start requesting the new information.
| 761
| 765
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t765.0
|
nIiHM41PPbQ
|
The other thing that we can note as well is the fact that if we go back down, it will re-request again.
| 765
| 773
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t773.0
|
nIiHM41PPbQ
|
So we have to make sure to do, don't request information once it's been requested.
| 773
| 786
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t786.0
|
nIiHM41PPbQ
|
We'll come up with a solution for that once the original intended solution works.
| 786
| 795
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t795.0
|
nIiHM41PPbQ
|
I'm just going to minimize this since I couldn't open it with a shortcut.
| 795
| 799
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t799.0
|
nIiHM41PPbQ
|
We know that's the case now and we are creating 15 items at a time.
| 799
| 804
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t804.0
|
nIiHM41PPbQ
|
I want to request new items when the index is 15.
| 804
| 809
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t809.0
|
nIiHM41PPbQ
|
So I am going to create a static const list request threshold.
| 809
| 823
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t823.0
|
nIiHM41PPbQ
|
It will be an integer, I'll set that to 15.
| 823
| 829
|
https://youtu.be/nIiHM41PPbQ
|
Flutter Tutorial | Build a continuos scrolling list | My code refactor process
|
2019-09-20T17:34:59Z
|
nIiHM41PPbQ-t829.0
|
nIiHM41PPbQ
|
And in here, what we'll do is we'll check if the index plus one, meaning the actual count, not the zero index position.
| 829
| 841
|
End of preview. Expand
in Data Studio
- Downloads last month
- 13