Skip to content

Add frame builder, add possibility to smoothly change placeholder to RawPicture#822

Open
stepushchik-denis-gismart wants to merge 1 commit intodnfield:masterfrom
nove8:add-frame-builder
Open

Add frame builder, add possibility to smoothly change placeholder to RawPicture#822
stepushchik-denis-gismart wants to merge 1 commit intodnfield:masterfrom
nove8:add-frame-builder

Conversation

@stepushchik-denis-gismart

This changes are very helpful in creating a better UX. It is about this issue.

Usage example:

          frameBuilder: (_, Widget child, PictureInfo? pictureInfo) {
            return AnimatedSwitcher(
              duration: const Duration(microseconds: 300),
              child: pictureInfo != null
                  ? child
                  : somePlaceholderWidget,
            );
          },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant