easy_global_widgets 0.0.4 copy "easy_global_widgets: ^0.0.4" to clipboard
easy_global_widgets: ^0.0.4 copied to clipboard

A Flutter package for using basic widgets like text , textFields and appbar with ease avoiding the fixed syntax and boilerplate code.

A Flutter package for using basic widgets like text , textFields and appbar with ease avoiding the fixed syntax and boilerplate code. Just type the widget and pass in only the required parameter names without caring about the style syntax.

Features #

Use text widget by passing only required parameters. Predefined widgets for Bordered, Underlined and UnBordered text fields as per requirement.

Usage #

// Use custom text widget as follows:

CustomTextWidget(
                    text: "Text Widget",
                    size: 40,
                    color: Colors.red,
                    alignment: TextAlign.center,
                    fontFamily: "Light",
                    decoration: TextDecoration.none)

//Use text field without borders as follows:

PlainTextFieldWidget(
                  labelSize: 20,
                  textSize: 20,
                  fontFamily: "Light",
                  hint: "Plain Text field",
                ),

//Use underlined text field as follows:

UnderLineTextFieldWidget(
                  labelSize: 20,
                  textSize: 20,
                  fontFamily: "Light",
                  hint: "Underline Text field",
                  onChanged: (val) {
                    print("val " + val.toString());
                  },
                ),

//Use border text field as follows:
 
BorderTextFieldWidget(
                  labelSize: 20,
                  textSize: 20,
                  fontFamily: "Light",
                  hint: "Border Text Field",
                )

//Use appbar as follows:

AppBarWidget(title: "App Bar",titleColor: Colors.white,titleSize:20)
1
likes
130
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for using basic widgets like text , textFields and appbar with ease avoiding the fixed syntax and boilerplate code.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on easy_global_widgets