clean_code 1.0.2 copy "clean_code: ^1.0.2" to clipboard
clean_code: ^1.0.2 copied to clipboard

save your time with clean code

example/main.dart

import 'package:flutter/material.dart';
import 'package:clean_code/clean_code.dart'; // Import paket clean_code

void main() {
  runApp(MaterialApp(home: CleanCode()));
}

class CleanCode extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Clean Code Demo'),
      ),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          ElevatedButton(
            style: elevatedNoRadius,
            onPressed: () {},
            child: Text('Tombol Tanpa Radius'),
          ),
          sy(20),
          sx(20),
          Padding(
            padding: const EdgeInsets.all(8.0),
            child: Card(
              shape: BeveledRectangleBorder(
                borderRadius: BorderRadius.circular(10.0),
              ),
              child: Text("noRadius"),
            ),
          )
        ],
      ),
    );
  }
}
1
likes
135
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

save your time with clean code

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on clean_code