colorful_safe_area 0.2.1 copy "colorful_safe_area: ^0.2.1" to clipboard
colorful_safe_area: ^0.2.1 copied to clipboard

outdated

A more customizable replacement for the SafeArea widget. It lets you set the color of your SafeArea without affecting the color of its child.

example/lib/main.dart

import 'dart:ui';

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'ColorfulSafeArea Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    int numberOfTiles = 100;

    return ColorfulSafeArea(
      // overflowRules: OverflowRules.only(top: true),
      color: Colors.red,
      // top: false,
      bottom: false,
      child: Scaffold(
        body: Container(
          color: Colors.yellow,
        ),
      ),
    );
  }
}
57
likes
0
points
6.06k
downloads

Publisher

unverified uploader

Weekly Downloads

A more customizable replacement for the SafeArea widget. It lets you set the color of your SafeArea without affecting the color of its child.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on colorful_safe_area