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)