Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 493 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 493 Bytes

statusbar_util

A flutter plugin to set statusbar transparent.support android 4.4+ && ios.

Getting Started

dependencies:
    statusbar_util: ^newest

Usage

import 'package:statusbar_util/statusbar_util.dart';

void main() {
  // setTranslucent
  StatusbarUtil.setTranslucent();
  
  // setStatusBarFontStyle
  StatusbarUtil.setStatusBarFont(FontStyle.black); // black text
  StatusbarUtil.setStatusBarFont(FontStyle.white); // white text
  runApp(MyApp());
}