stilo 1.1.0 copy "stilo: ^1.1.0" to clipboard
stilo: ^1.1.0 copied to clipboard

outdated

Stilo is a utility-first Flutter framework that gives you all of the building constants you need to build designs without define common styles for spacing, borders and much more

Introduction #

A utility-first Flutter framework for rapid UI development.

Utilities #

  • Border radius
  • Box shadow
  • Divider
  • Font size
  • Height
  • Letter spacing
  • Line height
  • Opacity
  • Spacing
  • Width
  • Many others...

Documentation #

For full documentation, visit pub.dev.

Examples #

1. Using StiloBorderRadius utility class

import 'package:stilo/stilo.dart';

Container(
  width: 200,
  height: 200,
  decoration: BoxDecoration(
    borderRadius: StiloBorderRadius.a4,
    color: Colors.orange,
  ),
)

2. Using StiloBorder utility class

import 'package:stilo/stilo.dart';

Container(
  width: 200,
  height: 200,
  decoration: BoxDecoration(
    border: StiloBorder.a4(Colors.deepOrange),
    color: Colors.orange,
  ),
)

3. Using StiloSpacing utility class

import 'package:stilo/stilo.dart';

Column(
  children: <Widget>[
    Container(width: 200, height: 100, color: Colors.orange),
    StiloSpacing.y20,
    Container(width: 200, height: 100, color: Colors.indigo),
  ],
)

4. Using StiloWidth and StiloHeight utility class

import 'package:stilo/stilo.dart';

Container(
  width: StiloWidth.w24,
  height: StiloHeight.h32,
  color: Colors.orange,
)

5. Using StiloBoxShadow utility class

import 'package:stilo/stilo.dart';

Container(
  width: 200,
  height: 200,
  decoration: BoxDecoration(
    color: Colors.orange,
    boxShadow: StiloBoxShadow.md,
  ),
)
16
likes
0
pub points
46%
popularity

Publisher

unverified uploader

Stilo is a utility-first Flutter framework that gives you all of the building constants you need to build designs without define common styles for spacing, borders and much more

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on stilo