inforvix_ux 1.1.0 copy "inforvix_ux: ^1.1.0" to clipboard
inforvix_ux: ^1.1.0 copied to clipboard

Pacote de UI da empresa INFORVIX - By Eduardo Guedes

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:inforvix_ux/inforvix_ux.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  TextEditingController controllerEdit = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          children: [
            //Edit Simples
            EditInforvix(
              title: 'Nome', //Obrigatório
              controller: controllerEdit, //Obrigatório
              isPassword: false,
              onlyNumbers: false,
              mask: "###.###.###-##",
              //width: 800,
            ),
            //Botão simples
            ButtonInforvix(
              title: 'Acessar', //Obrigatório
              onClick: () {}, // Obrigatório
              width: 200, // Opicional
            ),
            ButtonIconInforvix(
              title: 'Acessar', //Obrigatório
              onClick: () {}, // Obrigatório
              icon: const Icon(
                Icons.add,
                color: Colors.white,
              ),
              width: 200, // Opicional
            ),
            EditMemoInforvix(
              title: 'Observação',
              controller: controllerEdit,
              width: 200,
            ),
            EditHora(
              title: 'Hora',
              controller: controllerEdit,
              width: 200,
            )
          ],
        ),
      ),
    );
  }
}
0
likes
135
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

Pacote de UI da empresa INFORVIX - By Eduardo Guedes

Documentation

API reference

License

MIT (license)

Dependencies

dropdown_button2, flutter, mask_text_input_formatter

More

Packages that depend on inforvix_ux