flutter_app_components 1.1.2 copy "flutter_app_components: ^1.1.2" to clipboard
flutter_app_components: ^1.1.2 copied to clipboard

A set of packages for building easy and quick application in flutter

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          FCFormTextField(),
          FCButton(title: "Submit", onPressed: () {}),
        ],
      ),
    );
  }
}