niku 0.5.1 copy "niku: ^0.5.1" to clipboard
niku: ^0.5.1 copied to clipboard

outdated

Property builder for styling Widget with SwiftUI like pattern

Niku #

Property builder for styling Widget

Niku

Why #

Styling widget in Flutter is hard to maintain. Since everything is a widget, a style property like Padding, Align, FractionallySizedBox, Tooltip is nested to compose a simple widget.

Niku allow developer to style property using builder or SwiftUI modifier like to compose styling. By reducing the nested hell andbracket usage in Flutter, made styling Flutter widget more maintainable.

Comparison

Getting Start #

Niku required no dependencies at all. Starting by adding niku to pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter

  niku: # Using latest version

Then you're ready to create your awesome Flutter project with effortless styling!

See how simple building Text widget is!

import 'package:niku/niku.dart'; // <--- Import Niku library

NikuText("Hello World")
  .color(Colors.blue) // <-- Apply color
  .fontSize(21)       // <-- Add font size
  .build()            // <-- Create widget

Documentation #

Niku is style property builder for styling user interface inspired by SwiftUI.

Table of content #

62
likes
0
pub points
80%
popularity

Publisher

verified publishersaltyaom.com

Property builder for styling Widget with SwiftUI like pattern

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on niku