Last updated:
0 purchases
lb ui widgets
A collection of widgets for UI
Features #
TextField
Button
CircularLoadingProgress
HorizontalDivider
Getting started #
Install the package, and that's it.
Usage #
import 'package:flutter/material.dart';
import 'package:ui_widgets/widgets/ui_button.dart';
import 'package:ui_widgets/widgets/ui_text_field.dart';
class Home extends StatelessWidget {
Home({super.key});
Widget _size = SizedBox(
height: 20,
);
@override
Widget build(BuildContext context) {
return Scaffold(
body: SingleChildScrollView(
child: SafeArea(
child: Padding(
padding: EdgeInsets.all(10),
child: Column(
children: [
UiTextField(hintText: 'tap your name'),
_size,
UIButton(
text: "Button",
onPress: () {},
),
_size,
UIButton(
text: "Button With icon",
icon: Icons.camera,
onPress: () {},
),
_size,
],
),
)),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.