flutter_status_bar_light 1.0.3 copy "flutter_status_bar_light: ^1.0.3" to clipboard
flutter_status_bar_light: ^1.0.3 copied to clipboard

A flutter plugin that sets the android status bar transparent and status icon.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_status_bar_light/flutter_status_bar_light.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    FlutterStatusBarLight.setTranslucent();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on: set status bar translucent\n'),
        ),
      ),
    );
  }
}
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin that sets the android status bar transparent and status icon.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_status_bar_light