infra_custom_widget 1.0.0 infra_custom_widget: ^1.0.0 copied to clipboard
A Flutter package for both android and iOS which provides.
import 'package:flutter/material.dart';
import 'package:infra_custom_widget/infra_custom_widget.dart';
import 'package:infra_custom_widget/texts.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(
primarySwatch: Colors.blue,
),
home: Scaffold(
appBar: AppBar(
title: const Text('Test'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const MyButton(),
Texts.body2('Tester'),
Texts.headline1('Tester'),
],
),
),
),
);
}
}