ui_helper 1.0.0+1 copy "ui_helper: ^1.0.0+1" to clipboard
ui_helper: ^1.0.0+1 copied to clipboard

UI Helpers to speed boost your development time! These will help you make your app responsive and also provides text styles.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:ui_helper/ui_helper.dart';

void main() {
  runApp(MaterialApp(home: MyApp()));
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          "UI Helper",
          style: headlineStyle,
        ),
      ),
      body: Column(
        children: [
          FlutterLogo(
            size: screenHeightPercentage(context, percentage: 0.5),
          ),
          verticalSpaceRegular,
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text(
                "Heading1",
                style: heading1Style.copyWith(
                  color: Colors.deepPurple,
                ),
              ),
              horizontalSpaceSmall,
              Text(
                "Body",
                style: bodyStyle.copyWith(
                  color: Colors.deepPurpleAccent,
                  fontFamily: "Poppins",
                ),
              ),
              horizontalSpaceCustom(width: 20.0),
              Text(
                "Subheading",
                style: subheadingStyle.copyWith(
                  color: Colors.purple,
                ),
              )
            ],
          ),
        ],
      ),
    );
  }
}
19
likes
160
pub points
56%
popularity

Publisher

unverified uploader

UI Helpers to speed boost your development time! These will help you make your app responsive and also provides text styles.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ui_helper