skip to Main Content

Try correcting the name to an existing named parameter’s name, or defining a named parameter with the name ‘intialWeight’.
iam using package split_view

 intialWeight: widget.initialWeight,

3

Answers


  1. there isn’t any ‘initialWeight’ parameter in SplitView

    Login or Signup to reply.
  2. Since the version 3.0.0 the package split_view doesn’t have any parameter named initialWeight

    Removed fields
    minWidthSidebar/maxWidthSidebar/minHeightSidebar/maxHeightSidebar and
    initialWeight. Instead, Added the WeightLimit class so that we can
    specify the weight.

    Check the package page to see how to use the split_view with the newest versions.

    You can check the complete logs here.

    Login or Signup to reply.
  3. Use the class "WeightLimit" instead of "initialWeight"
    See the changelog of v3.0.0 on pub.dev.

    https://pub.dev/packages/split_view/changelog

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search