项目作者: janstol

项目描述 :
Customizable signal strength indicator widget for Flutter
高级语言: Dart
项目地址: git://github.com/janstol/signal_strength_indicator.git
创建时间: 2019-11-29T16:22:21Z
项目社区:https://github.com/janstol/signal_strength_indicator

开源协议:MIT License

下载


:signal_strength: Signal strength indicator widget

Pub
Build Status
Demo

Customizable signal strength indicator widget for Flutter.

Contents

Features

See the WEB DEMO.

Installation

  1. Depend on it

Add this to your package’s pubspec.yaml file:

  1. dependencies:
  2. signal_strength_indicator: ^0.4.1
  1. Install it

You can install packages from the command line:

  1. $ flutter packages get

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

  1. Import it

Now in your Dart code, you can use:

  1. import 'package:signal_strength_indicator/signal_strength_indicator.dart';

Usage

Bars

  1. SignalStrengthIndicator.bars(
  2. value: 0.6,
  3. size: 50,
  4. barCount: 4,
  5. spacing: 0.2,
  6. )

Sector

  1. SignalStrengthIndicator.sector(
  2. value: 0.6,
  3. size: 50,
  4. barCount: 4,
  5. spacing: 0.5,
  6. )

Feature requests and bugs

Please file feature requests and bugs at the issue tracker.