A flutter plugin for improved row and column widgets with added spacing and optional interleaved dividers

Overview

flutter_series

A flutter plugin for improved row and column widgets with added spacing and optional interleaved dividers.

Features

A set of widgets that help to make your code cleaner.

Widgets Description
PadColumn A Column with optional padding, spacing and dividers.
PadRow A Row with optional padding, spacing and dividers.
SizedWidth A less frustrating version of SizedBox.
SizedHeight A less frustrating version of SizedBox.
HDivider A simplified Divider widget.
VDivider A simplified VerticalDivider widget.
Functions Description
navPush A simple way to push a new page with CupertinoPageRoute styling.

Widgets

PadColumn & PadRow Series'

Simply a Column or Row widget with more control.

A basic PadColumn/PadRow works exactly the same as a normal Column/Row.

PadColumn(
    children: const [
        Text("flutter_series is"),
        Text("the best flutter package"),
        Text("to date"),
    ],
),

However, add a few arguments and you're away!

PadColumn(
    padding: const EdgeInsets.all(20) + MediaQuery.of(context).padding,
    interleaving: Interleaving.fullDivided,
    crossAxisAlignment: CrossAxisAlignment.stretch,
    mainAxisAlignment: MainAxisAlignment.start,
    spacing: 20,
    children: const [
        Text("flutter_series is"),
        Text("the best flutter package"),
        Text("to date"),
    ],
),

The variable interleaving can be assigned to hve different effects.

Interleaving Mode Description
none No spacing is applied, just like a standard series.
inBetween Spacing appears in between children, but not outside of them.
full Spacing appears in between widgets and outside of them.
inBetweenDivided Dividers appear in between children, but not outside of them.
fullDivided Dividers appear in between widgets and outside of them.

If only spacing is provided, the series will auto assign spacing inBetween

PadColumn(
    spacing: 20,
    children: const [
        Text("flutter_series is"),
        Text("the best flutter package"),
        Text("to date"),
    ],
),

SizedWidth & SizedHeight

Less frustrating version of SizedBox.

SizedWidth(20) = SizedBox(width: 20),
SizedHeight(20) = SizedBox(height: 20),

HDivider & VDivider

Less frustrating versions of Divider.

HDivider(20) = Divider(
        height: 20, 
        color: Colors.white.withOpacity(0.3),
    ),
VDivider(20) = VerticalDivider(
        width: 20, 
        color: Colors.white.withOpacity(0.3),
    ),

Getting started

Use this package as a library Depend on it Run this command:

With Flutter:

$ flutter pub add flutter_series

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_series: ^0.0.1

Once added to your pubspec.yaml, you can reference the package in your file using:

import 'package:flutter_series/flutter_series.dart';
You might also like...

Layout of the flutter example.such as Row,Comlun,listview,Just for learning.

Layout of the flutter example.such as Row,Comlun,listview,Just for learning.

Just for learning ❤️ Star ❤️ the repo to support the project or 😄 Follow Me.Thanks! Facebook Page Facebook Group QQ Group Developer Flutter Open Flut

Nov 29, 2022

Four-In-A-Row in Flutter

Four-In-A-Row in Flutter

Flutter FIAR Four-in-a-row game in Flutter Game modes Player vs Player (only local) Player vs Cpu Dumb Hard Hardest Demo (Cpu Hard vs Cpu Hardest) Get

Sep 12, 2022

Layout of the flutter example.such as Row,Comlun,listview,Just for learning.

Layout of the flutter example.such as Row,Comlun,listview,Just for learning.

Just for learning ❤️ Star ❤️ the repo to support the project or 😄 Follow Me.Thanks! Facebook Page Facebook Group QQ Group Developer Flutter Open Flut

Nov 29, 2022

ABC of Flutter widgets. Intended for super beginners at Flutter. Play with 35+ examples in DartPad directly and get familiar with various basic widgets in Flutter

ABC of Flutter widgets. Intended for super beginners at Flutter. Play with 35+ examples in DartPad directly and get familiar with various basic widgets in Flutter

Basic Widgets Examples This is aimed for complete beginners in Flutter, to get them acquainted with the various basic widgets in Flutter. Run this pro

Jan 3, 2023

Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets

Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets

Flutter Platform Widgets This project is an attempt to see if it is possible to create widgets that are platform aware. Currently in order to render t

Jan 4, 2023

Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets

Target the specific design of Material for Android and Cupertino for iOS widgets through a common set of Platform aware widgets

Flutter Platform Widgets This project is an attempt to see if it is possible to create widgets that are platform aware. Currently in order to render t

Jan 4, 2023

Arisprovider - A mixture between dependency injection (DI) and state management, built with widgets for widgets

A mixture between dependency injection (DI) and state management, built with wid

Jan 9, 2022

Widgets intermediate - Intermediate Widgets For Flutter

Widgets intermediate - Intermediate Widgets For Flutter

Intermediate Widgets 4-MODUL 5-LESSON Alert Dialog (Android & IOS) Drawer Single

Feb 6, 2022

Flutter plugin for auto resize widgets to get then "responsives".

Flutter plugin for auto resize widgets to get then

Responsive Widgets This plugin helps to create responsive widgets, that makes auto-size with the proportion between reference screen size (width, heig

Nov 3, 2022
Releases(v0.1.1)
Owner
null
Flutter-sorted-chips-row - Flutter library for rendering a row of Material "Chip" buttons that gets sorted according to the given function

sorted_chips_row A Flutter Widget displaying a row of Material Chips, sorted according to the provided comparison function. How to use Adding dependen

Callstack Incubator 29 Jul 29, 2021
A cross-platform Flutter widget for displaying websites. Optional navigation buttons.

Overview Gives you a cross-platform Flutter widget for displaying websites and other web content. Licensed under the Apache License 2.0. Links Github

Dint 11 Oct 23, 2022
Dialog flowtter-master - A Flutter implementation of DialogFlow, improved

A Flutter implementation of DialogFlow, improved. Build your integrations with D

null 0 Jan 3, 2022
A Flutter implementation of Google's Dialog Flow improved

A Flutter implementation of DialogFlow, improved. Build your integrations with DialogFlow easier and faster. About the package Dialog Flow on Flutter,

Deimos 36 Oct 31, 2022
Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.

Flutter Firebase Chat Core Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI. Flyer Chat is a platfor

Flyer Chat 173 Jan 2, 2023
Contactus - a flutter package. The most common functionality added in any commercial app is the Developer's contact details

Contact Us The most common functionality added in any commercial app is the Developer's contact details!! So this package helps the developers to simp

Abhishek Doshi 19 Aug 4, 2022
null 0 Feb 16, 2022
Flutter package that provide selectable items in list like Column

vertical_picker vertical_picker is flutter package that you can use it as item selector. users with this package be able to select item that is in ver

Sajad Rahimi 6 Nov 19, 2022
A library that helps you have multiple snackbars as a column

multi_snackbar A set of commands that helps you display more than one snackbar at the same time. Getting Started Make a list of widgets: var widgets =

Armin 1 Dec 23, 2021
A iOS like table view including section, row, section header and divider

flutter_section_table_view A iOS like table view including section, row, section header and divider Support both Android and iOS Support drop-down ref

刘彦博 73 Nov 4, 2022