edge_to_edge 0.0.2 copy "edge_to_edge: ^0.0.2" to clipboard
edge_to_edge: ^0.0.2 copied to clipboard

A customizable Flutter package for enabling edge-to-edge system UI on Android.

example/lib/main.dart

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  EdgeToEdge.configure(
    statusBarColor: Colors.transparent,
    navigationBarColor: Colors.black,
    statusBarIconBrightness: Brightness.dark,
    navigationBarIconBrightness: Brightness.dark,
    enableTop: true,
    enableBottom: false,
  );
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      home: const Scaffold(body: Center(child: Text('Edge To Edge UI'))),
    );
  }
}
2
likes
150
points
89
downloads

Publisher

verified publisherdharmikjoshi.in

Weekly Downloads

A customizable Flutter package for enabling edge-to-edge system UI on Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on edge_to_edge