velocity_x 0.3.0 icon indicating copy to clipboard operation
velocity_x: ^0.3.0 copied to clipboard

A minimalist Flutter framework for rapidly building custom designs.

example/lib/main.dart

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

void main() => runApp(MaterialApp(
      home: Demo(),
      debugShowCheckedModeBanner: false,
    ));

class Demo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Material(
      color: Vx.teal500,
      child: VStack(
        [
          VxDevice(
              mobile: "Mobile"
                  .text
                  .xl6
                  .textStyle(context.textTheme.caption)
                  .italic
                  .center
                  .make()
                  .centered()
                  .box
                  .rounded
                  .teal500
                  .neumorphic()
                  .make()
                  .whHalf(context),
              web: "Web"
                  .text
                  .white
                  .xl4
                  .bold
                  .center
                  .makeCentered()
                  .animatedBox
                  .bounceIn
                  .rounded
                  .teal500
                  .neumorphic()
                  .make()
                  .whHalf(context)),
          20.heightBox,
          "Velocity"
              .richText
              .withTextSpanChildren(["X".textSpan.red400.make()])
              .xl4
              .white
              .make()
        ],
        alignment: MainAxisAlignment.center,
        crossAlignment: CrossAxisAlignment.center,
      ).p16().scrollVertical(),
    );
  }
}
832
likes
80
pub points
97%
popularity

Publisher

shield icon for verified publisherscodepur.dev

A minimalist Flutter framework for rapidly building custom designs.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

auto_size_text, flutter

More

Packages that depend on velocity_x