This library allows you to use Fidooo widgets and custom variables

Features

Whit this library you can create:

  • Buttons
  • Custom Containers
  • Custom Texts
  • Custom TextFields
  • Custom TextFieldCalendar

Getting started

Add this line to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  fidooo_ui: ^0.0.25

Then in your Dart code, you can use:

import 'package:fidooo_dev_framework/custom_widgets';
import 'package:fidooo_dev_framework/constants';

Usage

import 'package:fidooo_dev_framework/custom_widgets/custom_button.dart';
import 'package:fidooo_dev_framework/custom_widgets/custom_container.dart';
import 'package:fidooo_dev_framework/constants/app_constants.dart';
import 'package:fidooo_dev_framework/constants/size_constants.dart';
import 'package:flutter/material.dart';

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          FRaisedButton(child: const Text("Hola"), onPressed: () {}),
          const SizedBox(height: SizeConstants.margin),
          const FContainer(
            color: FColors.apieBusiness,
            borderRadius: 5,
            child: Text("Fidooo dev"),
          ),
          const SizedBox(height: SizeConstants.margin),
          const FText("Hola, como estas <b>Bold</b> dev"),
          const SizedBox(height: SizeConstants.margin),
          const FText(
              "Hola, como estas <c>Custom Style</c> dev <c1>Custom Style1</c11> dev",
              customStyle: TextStyle(fontSize: 25, color: FColors.apieBusiness),
              customStyle1:
                  TextStyle(fontSize: 18, fontStyle: FontStyle.italic))

                      const SizedBox(height: SizeConstants.margin),
          FTextField(
            textinputType: TextInputType.multiline,
            title: 'Prueba',
            controller: TextEditingController(),
            maxLines: 3,
            minLines: 2,
          ),
          const SizedBox(height: SizeConstants.margin),
          FCustomTextFieldCalendar(
            title: 'Fecha',
            showCalendar: true,
            controller: TextEditingController(),
            initialDate: DateTime.now(),
            firstDate: DateTime(2010),
            lastDate: DateTime(2030),
          ),
          const SizedBox(height: 300),
        ],
      ),
    );
  }
}

Contribute

If you want to contribute to package contact to support@fidooo.com