Skip to content

space_fixer: Hide unexpected gap between widgets

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE-FLUTTER
Notifications You must be signed in to change notification settings

erlangparasu/space_fixer

Space Fixer

Features

  • Hide unexpected gap between widgets

Getting started

How It Works

Screenshot How It Works

Notes:

  • Blue -> represent background color (eg. listview container's color)
  • Black -> represent items (eg. listview children widgets)
  • Red -> represent SpaceFixerHorizontalLine (widget to hide unexpected gap)

Usage

flutter pub add space_fixer
import 'package:space_fixer/space_fixer.dart';
  • SpaceFixerHorizontalLine()
  • SpaceFixerVerticalLine()
// ...

Container(
    width: MediaQuery.of(context).size.width,
    height: 50,
    color: Colors.black,
),
SpaceFixerHorizontalLine(
    context: context,
    overflowHeight: 3,
    overflowColor: Colors.black,
),
Container(
    width: MediaQuery.of(context).size.width,
    height: 50,
    color: Colors.black,
),

// ...

See: example1.dart

Additional information

This lib will most likely help to (temporarily) resolve issues like: unexpected divider, mysterious dividers, unexpected spacing, one pixel line between, dividing lines occur, unwanted divider lines, small gap, lines between items, gaps between items, background color leaks.

Links

About

space_fixer: Hide unexpected gap between widgets

Topics

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE-FLUTTER

Stars

Watchers

Forks

Packages

No packages published

Languages