Giter VIP home page Giter VIP logo

flutter_sidekick's Introduction

Hi there ๐Ÿ‘‹

I'm Romain Rastel, a french mobile developer who enjoy using Flutter to build apps.

You will find here some packages I wrote to make Flutter even better.

Reach me

Linkedin Badge Medium Badge Twitter Badge

Sponsor me

Patreon Badge Paypal Badge Buy me a coffee

I'm working on my packages on my free-time, but I don't have as much time as I would. If one of the pakcages I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others.

Github Stats

Romain's Github Stats

flutter_sidekick's People

Contributors

efortuna avatar letsar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_sidekick's Issues

Question : How to show only source and then target

Hey,

I would like to make a simple animation, showing at the beggining only the source, and at this end only the target (with SideKick widget)

Could you give me some leads on this ?
Do I have to play with the opacity, listening to the animation status ?

Thanks !

Change SourceList after initialization

Thanks for your great plugin! ๐ŸŽ‰ I am trying to build a select-widget with it, based on the SidekickTeamBuilder. The SidekickTeamBuilder is in its own builder of a Streambuilder (I am using the bloc model for datastreams), so I (thought I) can just easily filter my initialSourceList.

But, even though my initialSourceList is setup correctly initially, when repainting the SidekickTeamBuilder with a new value for initialSourceList, it is never updated anymore when I rebuild/paint the widget.

My question: How could I filter the available (sourceList) items, after it is painted on the screen already?

Support null safety

The library 'package:flutter_sidekick/flutter_sidekick.dart' is legacy, and should not be imported into a null safe library.
Try migrating the imported library.

Error: This project cannot run with sound null safety, because one or more project dependencies do not
support null safety:

-  package:flutter_sidekick
dependencies:
  flutter_sidekick: ^0.1.3

flutter_sidekick-0.1.3/lib/src/widgets/sidekick_team_builder.dart:75:17: Error: The method 'ancestorStateOfType' isn't defined for the class 'BuildContext'.

In flutter 2.x, I am seeing the following error message when attempting to use Sidekick:

flutter_sidekick-0.1.3/lib/src/widgets/sidekick_team_builder.dart:75:17: Error: The method 'ancestorStateOfType' isn't defined for the class 'BuildContext'.

Apparently context.ancestorStateOfType() and context.ancestorInheritedElementForWidgetOfExactType(type) are deprecated because they don't work correctly and have been removed for latest Flutter stable.

Flutter 2.0 Support Error

Does not support flutter 2.0, some deprecated functions are used and some functions are used which are no longer available in flutter 2.0.

Integration with custom scroll view

Hello, is there a way to integrate this awesome widget with CustomScrollView?
So we animate the sidekick by the value of LayoutBuilder constraints inside SliverAppBar's flexibleSpace attribute
Thank you

Using sidekick inside a TableView.builder

When I try to use sidekick inside a TableView.buider I get this error,
type 'RenderSliverList' is not a subtype of type 'RenderBox'
this happens for any limition of flutter or is by design?

@override
  Widget build(BuildContext context) {
    return Column(children: <Widget>[
      Expanded(
          flex: 2,
          child: Stack(children: <Widget>[
            GestureDetector(
              onTap: () => controller.moveToTarget(context),
              child: Sidekick(
                tag: 'target',
                child: Container(
                  color: Colors.blue,
                ),
              ),
            ),
          ])),
      Expanded(
          flex: 1,
          child: Container(
            child: ListView.builder(
                itemCount: 1,
                itemBuilder: (context, index) {
                  return GestureDetector(
                        onTap: () => controller.moveToTarget(context),
                        child: Sidekick(
                          tag: 'source',
                          targetTag: 'tagTarget',
                          child: Container(
                            height: 50,
                            width: 400,
                            color: Colors.red,
                        ),
                      ));
                }),
          ))
    ]);
  }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.