Tag:Scroll gradient

  • Implementation of flutter rolling monitoring and practical AppBar rolling gradual change


    introduce Generally, there are two ways to implement rolling monitoring in flutterScrollControllerandNotificationListenerThese two ways. Introduction to scrollcontroller ScrollController Introduce to youScrollControllerCommon attributes and methods: offset: the current scrolling position of the scrollable component. jumpTo(double offset)Jump to the specified location,offsetIs the roll offset. animateTo(double offset,@required Duration duration,@required Curve curve)withjumpTo(double offset)The same, the difference isanimateToWhen jumping, an […]