velocity_x 0.1.2 copy "velocity_x: ^0.1.2" to clipboard
velocity_x: ^0.1.2 copied to clipboard

outdated

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: VelocityX.teal500,
      child: VelocityDevice(
          mobile: "Mobile"
              .selectableText
              .white
              .xl4
              .semiBold
              .center
              .makeCentered()
              .box
              .rounded
              .teal500
              .neumorphic()
              .make()
              .whHalf(context)
              .centered(),
          web: "Web"
              .text
              .white
              .xl4
              .bold
              .center
              .makeCentered()
              .box
              .rounded
              .teal500
              .neumorphic()
              .make()
              .whHalf(context)
              .centered()),
    );
  }
}
1352
likes
0
pub points
98%
popularity

Publisher

verified publishercodepur.dev

A minimalist Flutter framework for rapidly building custom designs.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

auto_size_text, flutter

More

Packages that depend on velocity_x