Giter Site home page Giter Site logo

hadi20sa / connection_status_bar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thisisamir98/connection_status_bar

0.0 0.0 0.0 453 KB

Flutter connection status bar, widget that animates when internet connection changes

Home Page: https://pub.dev/packages/connection_status_bar

License: MIT License

Dart 75.94% Kotlin 3.78% Ruby 15.30% Swift 4.56% Objective-C 0.42%

connection_status_bar's Introduction

connection_status_bar

A widget that animates when internet connection changes

Getting Started

add it to your dependencies then use it anywhere on your app, usually in a widget that is on top of all of your widgets.

ConnectionStatusBar(
    height = 25, // double: default height
    width = double.maxFinite, // double: default width
    color = Colors.redAccent, // Color: default background color
    lookUpAddress = 'google.com', // String: default site to look up for checking internet connection
    endOffset = const Offset(0.0, 0.0), // Offset: default animation finish point offset
    beginOffset = const Offset(0.0, -1.0), // Offset: default animation start point offset
    animationDuration = const Duration(milliseconds: 200), // Duration: default animation duration
    // Text: default text
    title = const Text(
      'Please check your internet connection',
      style: TextStyle(color: Colors.white, fontSize: 14),
    ),
),

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.