floxy_style 0.0.4%2B1

Floxy Style is utility for help you code.

FloxyStyle is Utility with Lightweight performance and many feature coming soon in this package hopefully you can give me suggestion in issue github

Features

  • Button
  • Route / Navigator
  • Sizing
  • Validator

Usage

DangerButton(
  pressed: () {},
  widget: Text("Test Button"),
  // for example you need borderRadius just add
  typeBorder: "bd-1"
)

Route Navigator

To push your navigator screen just use

  FN.moveTo(context, ScreenName())

To push your navigator with namedRoute screen just use

  FN.moveToWithRoutes(context, "/exampleroute")

To Close your screen just use

  FN.closePage(context)

Sizing

  FSZ.fullW(context)

Validator

  // Min Length Validator
  FV.minLength(String value, int minLength)
  // if valid return true

   // Max Length Validator
  FV.maxLength(String value, int maxLength)
  // if valid return true

  // Email Validator
  FV.email(String value)
  // if valid return true