Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,380 --> 00:00:07,080
Or are you going so as I said earlier, I will explain how to implement a sliver of details.
2
00:00:07,710 --> 00:00:13,440
It is very easy and I will explain it and details to make you understand it.
3
00:00:14,670 --> 00:00:20,850
So for that, I have already created a new project and I to the boilerplate code.
4
00:00:20,880 --> 00:00:26,730
And I deleted the comments and I created a new file.
5
00:00:27,180 --> 00:00:29,130
You called Homescreen.
6
00:00:30,240 --> 00:00:39,270
And I initialized a scaffold and give it urtext inside of it center, just text in here.
7
00:00:40,950 --> 00:00:44,310
So I will just delete this code and.
8
00:00:45,680 --> 00:00:49,670
And here, in order to start, we need to initialize a custom.
9
00:00:51,450 --> 00:01:00,780
Scroll view now this custom scroll of your text slivers and other slivers, we need to initialize the
10
00:01:00,790 --> 00:01:08,040
sliver up, but like this is a sliver of text for your arguments.
11
00:01:09,980 --> 00:01:15,950
And in here, I will initialize the title just like a normal bar, let's say, in your text.
12
00:01:17,920 --> 00:01:23,890
And say in here, Sklaver of tutorial.
13
00:01:26,250 --> 00:01:30,570
That you can't give it other attributes, such as?
14
00:01:34,330 --> 00:01:41,410
Can't give it actions, I will use census data and put it through, and the most important thing is
15
00:01:41,440 --> 00:01:42,130
to give it.
16
00:01:44,250 --> 00:01:49,870
I expanded height, so in here, let's say give it expanded, I put it to 200.
17
00:01:51,920 --> 00:01:56,420
We can't give it a background color and use colors, dot.
18
00:01:58,130 --> 00:02:00,860
For example, say that, and here it is.
19
00:02:03,360 --> 00:02:06,710
Now, if I move it for sure, nothing will happen.
20
00:02:08,170 --> 00:02:14,470
Now, many of you will try to implement that using a list or a great review, so in order to do that,
21
00:02:14,920 --> 00:02:25,690
you need to initialize another child for this sliver, which is here, Sliver, and you'll get a lots
22
00:02:25,690 --> 00:02:26,620
of children.
23
00:02:28,410 --> 00:02:36,600
For example, Sliver, great, you can choose to live a great car accident, and I think that you want
24
00:02:36,600 --> 00:02:41,880
and it works just like the normal growth of you for at least, for example.
25
00:02:45,880 --> 00:02:53,550
You need to initialize it like this and give it the attributes I will explain later as this tutorial.
26
00:02:54,400 --> 00:02:57,370
For now, let's initialize see Slover.
27
00:02:58,820 --> 00:03:07,820
Phil remaining and this is what takes the other space here, it takes a few arguments such as the child
28
00:03:07,820 --> 00:03:13,820
and I would get a text and or paste the code that I copied before.
29
00:03:13,940 --> 00:03:16,120
So save it now or that.
30
00:03:16,700 --> 00:03:17,960
And here it is.
31
00:03:20,340 --> 00:03:21,570
See how simple it is.
32
00:03:24,050 --> 00:03:25,660
OK, so let's.
33
00:03:26,210 --> 00:03:33,800
For example, I would show you something serious money attributes for those you can apply leading just
34
00:03:33,800 --> 00:03:37,490
like steerable, I mean, non-moral.
35
00:03:37,490 --> 00:03:40,790
But if you just spent what it's true, for example.
36
00:03:42,300 --> 00:03:43,500
It will remain.
37
00:03:44,360 --> 00:03:46,730
And still always appearing in here.
38
00:03:47,300 --> 00:03:50,990
There is money attributes, and I do recommend you to try them on.
39
00:03:51,990 --> 00:03:57,900
All right, so now let's, as I said, the initialise A-list as instead of this, so I will come in
40
00:03:57,900 --> 00:04:02,900
here and initializes never list like this.
41
00:04:03,450 --> 00:04:05,840
We need to provide delegates for it.
42
00:04:05,850 --> 00:04:09,940
So here we say it's their child child.
43
00:04:10,080 --> 00:04:16,860
But the delegates, it takes a context, just like a boulder and an index.
44
00:04:18,860 --> 00:04:20,990
And here we need to outsource.
45
00:04:23,520 --> 00:04:31,740
And then we need to add our return in here and close the practices in here.
46
00:04:32,660 --> 00:04:43,760
Just like this now for their return, we can't return anything, but I will return the text and if you
47
00:04:43,760 --> 00:04:46,580
want, you can return it that you aren't.
48
00:04:47,150 --> 00:04:52,550
So in here, let's say hello world and save it.
49
00:04:53,480 --> 00:04:54,140
Here it is.
50
00:04:55,270 --> 00:05:00,340
And as you can see, it is working fine, but it has a limited number of.
51
00:05:02,290 --> 00:05:06,220
Contents, so we need to fix this to fix it.
52
00:05:06,640 --> 00:05:08,470
Let's try to add something in here.
53
00:05:08,740 --> 00:05:12,840
We only have the key if we try to add something in here.
54
00:05:15,400 --> 00:05:22,690
It can't be added, which is here, the child got so in here, let's say, for for example.
55
00:05:25,850 --> 00:05:27,810
And it's making an error.
56
00:05:27,830 --> 00:05:28,460
So let's.
57
00:05:30,130 --> 00:05:33,760
Simply initialize it in here like this.
58
00:05:34,230 --> 00:05:36,520
Save it now and we have four items on the.
59
00:05:38,330 --> 00:05:41,210
If we chose 50, for example, you know, they.
60
00:05:44,770 --> 00:05:51,700
So it is very, very simple, and if you have any questions about it, just feel free to ask me and
61
00:05:51,700 --> 00:05:53,400
I will explain it and details.
5515
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.