appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
187 stars 214 forks source link

[flutter_onboarding_slider] Why did you do this even after accepting foreground color? #167

Closed d2rtechmanager closed 10 months ago

d2rtechmanager commented 11 months ago
this.finishButtonTextStyle = const TextStyle(
      fontSize: 20,
      color: Colors.white,
    ),
    this.skipIcon = const Icon(
      Icons.arrow_forward,
      color: Colors.white,
 ),

This is wrong. Why are you accepting the foreground color then? also same goes for fontsize.

khanmujeeb687 commented 11 months ago

Hey @d2rtechmanager , Do you mean why we provide default values for this variable. If you pass the argument, That will override the default value. Check here.