flutter_ui_component 0.0.1 copy "flutter_ui_component: ^0.0.1" to clipboard
flutter_ui_component: ^0.0.1 copied to clipboard

A Collection of UI components frequently used.

example/lib/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Button Example',
      debugShowCheckedModeBanner: false,
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: Center(
          child: CustomButton(
            title: 'Custom Button',
            padding: EdgeInsets.all(16),
            textColor: Colors.white,
            buttonColor: Colors.green,
            borderRadius: 24,
            shadowColor: Colors.grey,
            shadowSpreadRadius: 2,
            shadowBlurRadius: 8,
            shadowOffset: Offset(2, 4),
          ),
        ),
      ),
    );
  }
}
1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A Collection of UI components frequently used.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_ui_component