space_fixer 0.1.1 copy "space_fixer: ^0.1.1" to clipboard
space_fixer: ^0.1.1 copied to clipboard

space_fixer Hide unwanted/unexpected gap between widgets.

Space Fixer #

https://github.com/erlangparasu/space_fixer

https://pub.dev/packages/space_fixer

Features #

  • Hide unwanted/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 (helper to hide unwanted gap)

Usage #

flutter pub add space_fixer
import 'package:space_fixer/space_fixer.dart';

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

  • 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:

mysterious dividers, spacing, one pixel line between, dividing lines occur, produces unwanted divider lines, small gap, lines between items, background color leaks, gaps between items

10
likes
100
pub points
80%
popularity

Publisher

verified publishererlangparasu.dev

space_fixer Hide unwanted/unexpected gap between widgets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on space_fixer