flutter_sickchill 0.1.1 copy "flutter_sickchill: ^0.1.1" to clipboard
flutter_sickchill: ^0.1.1 copied to clipboard

Flutter package to manage remote sickchill instance

flutter_sickchill #

Flutter package to talk to a SickChill remote instance, for a pure dart package please check sickchill

Setup #

To have this package working you need to setup a SickChillScope like this:

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SickChillScope(
      baseUrl: 'http://192.168.1.35:8081',
      apiKey: 'APIKey',
      child: MaterialApp(
        ...
      ),
    );
  }
}

Here you just pass the base url of the remote sickchill instance, after that you can start adding UI to manage SickChill.

Easy usage #

The most easy usage is to launch a full screen, to do so use SickChillScreen like this:

Navigator.of(context).push(MaterialPageRoute(builder: (context) => SickChillScreen()));

Custom usage #

If the easy usage doesn't fit your need you can use dedicated widgets to build your own interface, here is a list of widget available:

Widget Usage
SickChillScreen full screen to see and interact with SickChill instance
TvShowList List of the shows
TvShowListItem Show data in the list view
TvShowGridItem Show data in the grid view
AddShowFloatingButton Floating button to open screen/dialog to add new show
AddShowContent Form for adding a show
AddShowDialog AddShowContent inside Dialog for adding a show
AddShowScreen AddShowContent inside Screen for adding a show
TvShowScreen Screen for show details
TvShowStats Content of the first tab of TvShowScreen with basic show info
TvShowSeason Content of a season tab of TvShowScreen with episodes info
0
likes
80
pub points
0%
popularity

Publisher

unverified uploader

Flutter package to manage remote sickchill instance

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_hooks, flutter_mobx, intl, mobx, palette_generator, provider, proxy_layout, sickchill

More

Packages that depend on flutter_sickchill