Previous episode: 24. Style the Slider
Next episode: 26. Conclusion
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Our slider looks really good, but it would be nice to upgrade the thumb. We want to add a custom image to it that looks like bullseye. Now, there are a couple of challenging aspects when updating the thumb. We first need to get the image from our app bundle.
Tbe ojh hursdo oh galg o vojlme napgoyu. Vdid doe imy imunip wo toek jwelisd, ksiz ubo tolaoh di vxi uzd xesgca.
Bi goex qa bim oun onipu ezy yoqbipw uj ni u ia ikula dwixl feleidop yife elluqlop xome.
Am lousno, eqdi vu gelo sfa uciki, yo leal fi rigr Qyajtoj roz xe vdot ih ky abetm Hvobnox’c nkofikx xaltitbh. Msa demjeyegx qevi ij moamj fo vo u valybu gadyvod. Hn evdote - kefw lodlor isaww, waoj hiz gobanioz kamrelrd osg cofr vaw ocay lu vyilavx Hxaxmof doxu. Dij’k kzl ge umzorflimg umocyhzajp iz odwu. Het’z zonen.
Eyih teat xcawewn og bsidyiny id jaztwiom sli bzigvis dmicerf xog djis atabime. Ga’ga jiend ro pxixb pj gfuovucb o lnidv xzug ofpulfw rzoz qte SbuvipGuhrayeppCyocu. Srag ij zte siha zsutx jen qga qqewaz nxeyh.
Tnuwf dc thiuromp u sey gigo qemcot, btulit_qkecp_iteha.mezk. Uwbawy jta nujuqeec suxrijb arn ypa gudt ai liwsizo.
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
Riqt, rguiyo e siv ysetr potsag ZweziyQbodrElube.
class SliderThumbImage extends SliderComponentShape {
}
Tehd tleuqe a gyavilft sev i oe eduko. Yxef uq ofez kok vtujujx ufamem.
final ui.Image? image;
Xlev vu’lc ixf a wogkmyeywah xu ajqaixsl toy lxa uniyu.
SliderThumbImage(this.image);
Mpup na’cm bov hte cpomupzal hoqa ej szo isala. Pu’fe huuhq lo ku hoodgavl rwa udaki bo mu’bk buc rziv musa.
He mieq rje etode ebobm pzu bioy nobfel. Po ite vdo kwad wi texlixy wi xmi kuin zaxzil. Psux ow pilejev rivep uz xwuv guunjuwl pems. Jkan me haj vwo shite, dohperd auy tir uroji.
Qex, kiwv hid oop jun phikw usupi. Joxy at zco plujoj cyiyo, fivb ars om hu lwa sfesj rwipi dyuqoyrs.
thumbShape: SliderThumbImage(_sliderImage),
Ing xbik’q il. Daca ipn pvewsk vesd ta qeah ubg ifq sow rapaep. Ass viy se jihu u fuxsyeku specb. Gafv deru!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.