hey everyone today I'm going to walk us through uh design that I put together uh with the new software application called flutter flow um I have done a couple years with the flutter development but this definitely sped up the process by probably around two acts and that was my first time being in the platform I was able to stand this up in about a weekend so I did take a little bit of a mock of of one of the designs I I made before in flutter um and then I was able to recreate it in
flutter flow and and add my own touch so I already had an API um that I was leveraging to pull in this Shark Tank data and we'll be able to see um where I can retrieve that information here in my other site but we'll stick to the flutter Flow side of things and when we get to the API uh discussion we I'll dive into that further so what I've done is I've created a leaderboard here that shows you how much uh each shark's invested um across the 14 seasons of Shark Tank I know the 15th
season's out right now and I'll update that data at some point in the future and you can drill down and fil filter on a specific category so if we said you know the Sharks uh all the pitches that were uh children uh category so any of the the um ideas that the entrepreneurs came to the table with that were u in that children category or or something something else so we can see that this tailor down and now Lori leads that particular category um you can also filter down by the gender of the entrepreneur team
so if if one male and one female join the that would be a hybrid U or you'd have just male team female team depending on the entrepreneurs and you can see you know who invested the most in that uh particular category and gender of of individuals entrepreneurs the second page is just a rank view if you don't want the um kind of leading percents here then um we can go to the rank View and it's just a a flat just a different view so if you prefer that go ahead and use it cool thing about
this is that you can drill down into each one of these and it's actually going to call a different uh API route here and and show the amount that those individuals invested uh so in this case Dam and John and so some shark information as well and also what he's known for as well as his birthday so we can really drill into any of these sharks um and now this is filtering down saying this is the investment children categories of pitches where the gender of the entrepreneur team is hybrid uh similarly if we went ahead
and cleared these filters off we could see Mar Cuban's done 60.1 million here um and we can go back to that percent view the last piece that floter flow made extremely easy is I could actually come up here and toggle a theme mode on and be able to change my theme from dark mode or light mode to dark mode really easily um and setting up that design and color palet super seamless as well so similar thing here just flip the colors around and the the other piece is going to be that responsive design right when
we look at uh larger screen sizes so was able to take this and make a responsive design relatively quickly I did add one thing in to cap the max width of the screen to help with my responsive design at 1200 pixels um and I was able to deploy this to uh a website with literally one click um it was super simple so I pulled that here and I can go ahead and reload this and this is the leaderboard do sharktank API dodev as you can see up here in the URL and this is really cool
too because it's it's live anyone can come to this site uh if they want to check it out and see what it looks like from a web view I did build this mobile first so it's going to look a little bit better in my opinion uh we'll see I capped it at 1,200 pixels here so I'm not dealing with things outside that range I have a very large screen but as we come into here it does start to look nicer and nicer if we get to that uh that Mobile screen size so it was mobile
first so let's dive to uh what some of the build looks like so really there's two API routes in this that are retrieving the data for this project and like I said before that comes from my Shark Tank API that I built and you anyone can leverage this I I just made it freely available um although there are rate limits on it just to reduce any um abuse that someone might bring to the platform so for an individual that's just calling it outright it's going to rate limit You by 10 requests per minute uh by
your IP address and for um Prov proving if you if you go ahead and go to the website sign in come to the API Keys page you can actually um get your own API key here that you can copy and use in the requests to get up to 25 requests per second but usually the 10 suffices if you need more feel free to sign up and grab one of those so if I come down uh to the API call section of flutter flow this is really where um a lot of the power of this platform
comes forth in my opinion in this API call sections really really strong so I can just list my route can give the API call a name and then I can use it across everywhere else in my project very easily with a a backend query call so here's where we can determine whether or not we want to add any query parameters or variables so in my case I added category and gender as variables and then those filters are feeding uh these variables to go ahead and call this uh Shark Tank API and so if we go
ahead the response and Test Section this get sharks by amount invested essentially we could choose to include a category or gender I'll go ahead and just test this API call and here it's going to return me that information we'll see that 60.1 million that we saw before on the actual website or if I specify a specific category maybe in this case it was children I can go ahead and test that API call again and we'll see that that view change it's going to filter down on those queries and here and the headers you can see
how many requests or rates I have remaining because I just made U two calls there so I have nine requests remaining uh similarly if I want to just drill down on maybe mail Investments I can hit try here and we'll have eight remaining and we get a um a different calculation back from my API so all the business logic's being performed on that API to pull that information down for you guys right the other call that I had let's go ahead and discard that was the get shark by ID so this is when we're drilling
down into those or granular pages right if I click on Mark cub in here jump into this page I'm G to stick to the mobile view for this if I click on this then I'll get uh the rest of that information specifically about the shark not just the amount that they invested uh in their image I get you know further details so if you wanted to go in and sign up and grab an API key feel free to go to sharktank api. sign in and then go to the API key section under your profile and
you can go ahead and copy this now if I come back to uh my requests here let's say that I want to go to this get shark by ID I can add headers here um and I can add an API or sorry X API key and then that is the key for this and the value is going to be that API key that we just grabbed from that website so I'll go ahead and rotate this but you guys can see it for now just for example sake and go ahead and save that guy down and
we can come to the responses and if we're just testing shark one which should be Mark Cuban I can go ahead and test this API call and we get the information specific to that shark and in the headers here I guess we need to call it one more time we'll see that I have that 23 requests remaining so we have a little bit higher of a um a rate limit there don't get bogged down by that I really didn't hit any rate limit problems with just the 10 so there's you probably don't even need to
go get an API key but if you want to test other endpoints you can explore that other site um the other really cool thing right we can come to our data types and I could Define the shark I can grab all those fields that are being returned by my API so that the rest of my application in flutter flow can consume these fields much easier um I'm not having to manually type them out um so here I'm defining the types that are being returned and um when we look at the actual application or we'll go
to the shark investment object this API is just returning four Fields an object with name invested shark ID and image and in the actual application itself if we're under the leaderboard page I'm just making one call to that get um get sharks by calculation or whatever I called that get sharks by amount invested and that's on this query column here if I come to my backend queries I made an API call to that um then the rest of my application can consume these things so if I wanted to look at that um one of these
particular widgets I can see that I'm passing this component uh Widget the image path of the shark the player name um in this case shark name score which is the amount invested I tried to make this Dynamic so that you could use this leaderboard for uh your own purposes if you just have a teams in a leaderboard or different players whatever have you so it's a little bit more flexible and then the Avatar size just to make it easier to scale how big I want to make um these images appear on the page as well
as the shark ID so that is pretty much everything um I guess the last thing that I didn't cover is going to be under the theme settings and colors this is the design system and it is really uh streamlined this makes it very easy and awesome to uh come in here and Define my colors and just be able to reuse them across my entire project you saw when I flipped that theme switch I had these set up already and there was barely any editing that I actually needed to do so um hope you enjoy the
template I'm going to post the template on the marketplace for free um and let me know if you have any questions thanks bye