inforvix_ux 0.0.4 copy "inforvix_ux: ^0.0.4" to clipboard
inforvix_ux: ^0.0.4 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(
              title: 'Nome', //Obrigatório
              controller: controllerEdit, //Obrigatório
              hintText: 'Seu hint', //Opicional
              paddingTop: 0, //Opicional
              width: 200, //Opicional
            )
          ],
        ),
      ),
    );
  }
}
0
likes
140
points
31
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

More

Packages that depend on inforvix_ux