pacifio / rapid

Flutter rapid ui is a library that allows you to build responsive widgets quickly like tailwindcss.

Home Page:https://rapidocs.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rapid UI

Rapid banner

Flutter rapid ui is a library that allows you to build responsive widgets quickly like tailwindcss.

Rapid allows flutter developers to create responsive sharable widgets in record time with utility first tailwind like classes.

Check out the documentations

import 'package:flutter/material.dart';
import 'package:rapid/rapid.dart';

class DemoCard extends StatelessWidget {
  const DemoCard({super.key});

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: RapidContainer(
        styles:
            "px-4 py-4 mx-8 my-8 bg-grey-900 rounded-lg shadow-sm laptop:px-0 laptop:py-0",
        child: RapidFlow(
          styles: "column items-center axis-min laptop:row desktop:row",
          children: [
            RapidContainer(
              styles:
                  "w-16 h-16 laptop:w-32 laptop:h-40 rounded-full desktop:rect bg-grey-800 laptop:rounded-md",
              child: SizedBox(),
            ),
            SizedBox(
              height: 16,
            ),
            RapidContainer(
                styles: "laptop:px-8",
                child: RapidFlow(
                  styles:
                      "column items-center axis-min laptop:items-start desktop:items-start",
                  children: [
                    RapidContainer(
                      styles: "laptop:w-96",
                      child: RapidText(
                        text:
                            "Rapid allows flutter developers to create responsive sharable widgets in record time with utility first tailwind like classes",
                        styles:
                            "text-center text-white text-md laptop:text-left laptop:leading-relaxed",
                      ),
                    ),
                    RapidContainer(
                      styles: "pt-4",
                      child: RapidText(
                        text: "Adib Mohsin",
                        styles: "text-blue",
                      ),
                    ),
                    RapidContainer(
                      styles: "pt-1",
                      child: RapidText(
                        text: "layopay",
                        styles: "text-grey-500 uppercase text-xs",
                      ),
                    )
                  ],
                )),
          ],
        ),
      ),
    );
  }
}

About

Flutter rapid ui is a library that allows you to build responsive widgets quickly like tailwindcss.

https://rapidocs.vercel.app/

License:MIT License


Languages

Language:Dart 56.3%Language:C++ 19.6%Language:CMake 17.1%Language:C 1.7%Language:Swift 1.6%Language:HTML 1.6%Language:Shell 0.9%Language:Objective-C 0.5%Language:Java 0.5%Language:Kotlin 0.1%