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

A package to show an specific widget based into user device internet connection.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add internet_builder

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  internet_builder: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:internet_builder/domain/errors/internet_connection_driver_errors.dart';
import 'package:internet_builder/domain/usecases/check_connection_usecase.dart';
import 'package:internet_builder/external/drivers/internet_connection_driver_impl.dart';
import 'package:internet_builder/infra/drivers/internet_connection_driver.dart';
import 'package:internet_builder/presentation/bloc/internet_builder_bloc.dart';
import 'package:internet_builder/presentation/bloc/internet_builder_event.dart';
import 'package:internet_builder/presentation/bloc/internet_builder_state.dart';
import 'package:internet_builder/presentation/page/internet_builder_widget.dart';
4
likes
140
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A package to show an specific widget based into user device internet connection.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dartz, equatable, flutter, flutter_bloc, internet_connection_checker

More

Packages that depend on internet_builder