flutter_transmission 0.0.2 copy "flutter_transmission: ^0.0.2" to clipboard
flutter_transmission: ^0.0.2 copied to clipboard

outdated

Flutter package to talk to a Transmission torrent instance, for a pure dart package please check [transmission](https://github.com/mylisabox/transmission)

flutter_transmission #

Flutter package to talk to a Transmission torrent instance, for a pure dart package please check transmission

Setup #

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TransmissionScope(
      baseUrl: 'http://192.168.1.35:9091/transmission/rpc',
      child: MaterialApp(
        ...
      ),
    );
  }
}

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

Easy usage #

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

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

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
TransmissionScreen full screen to see and interact with transmission data
TorrentList List of the transmission's torrents
TorrentListItem Torrent representation
TransmissionSettings Widget to manage transmission's settings
TransmissionSettingsDialog TransmissionSettings but in a dialog
TransmissionGlobalActions Toolbar to stop/start all torrents at once
TransmissionStatusBar Status bar to toggle alternative speed and access transmission's settings
RealTimeActionButton Button to toggle real time pooling data from transmission
AddTorrentActionButton Button to add a torrent to transmission instance
1
likes
0
pub points
7%
popularity

Publisher

verified publishermylisabox.com

Flutter package to talk to a Transmission torrent instance, for a pure dart package please check [transmission](https://github.com/mylisabox/transmission)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_hooks, flutter_mobx, flutter_svg, mobx, provider, transmission

More

Packages that depend on flutter_transmission