flutter_basic_essentials library

Classes

AddressCheckOptions
This class should be pretty self-explanatory. If AddressCheckOptions.port or AddressCheckOptions.timeout are not specified, they both default to DataConnectionChecker.DEFAULT_PORT and DataConnectionChecker.DEFAULT_TIMEOUT Also... yeah, I'm not great at naming things.
AddressCheckResult
Helper class that contains the address options and indicates whether opening a socket to it succeeded.
AuthenticationFailure
CacheFailure
DataConnectionChecker
This is a singleton that can be accessed like a regular constructor i.e. DataConnectionChecker() always returns the same instance.
GeneralFailure
GenericFailure
GenericNetworkErrorWidget
GenericRowDataWidget
GenericRowDataWidget is for viewing two widget in row easily
GenericValuePasser
NetworkFailure
NetworkInfo
NetworkInfoImpl
NetworkRequests
NetworkRequestsImplement
NetworkRequestsImplement required "HttpClient" as client, "String" baseUrl additional parameters "int" port, "String" additionalUrl, "bool" isBadCertificate (default "false", switch it "true" if server is not HTTPS / certificate is not good / not installed)
NoParams
RegsiterFailure
ServerFailure
UseCase<Type, Params>

Enums

DataConnectionStatus
Represents the status of the data connection. Returned by DataConnectionChecker.connectionStatus