styled_widget 0.4.1 copy "styled_widget: ^0.4.1" to clipboard
styled_widget: ^0.4.1 copied to clipboard

Simplifying your widget tree structure by defining widget using methods. Taking ispiration from CSS and SwiftUI

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add styled_widget

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

dependencies:
  styled_widget: ^0.4.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:styled_widget/styled_widget.dart';
868
likes
130
points
15.3k
downloads

Publisher

unverified uploader

Weekly Downloads

Simplifying your widget tree structure by defining widget using methods. Taking ispiration from CSS and SwiftUI

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, lint

More

Packages that depend on styled_widget