chicken 0.0.12 copy "chicken: ^0.0.12" to clipboard
chicken: ^0.0.12 copied to clipboard

chickenStyle is a package that can help developers to creating textstyle widget. just type one line bash code and chickenStyle will generate file, class and widget for you

example/main.dart

import 'package:chicken/chickenStyle/IronManStyle.dart';
import 'package:flutter/material.dart';

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

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

class MyPage extends StatefulWidget {
  const MyPage({Key? key}) : super(key: key);

  @override
  _MyPageState createState() => _MyPageState();
}

class _MyPageState extends State<MyPage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("The Avangers Lists"),
      ),

      body: Container(
        child: Column(
          children: [
            Text("Iron Man", style: IronManStyle().bold10,),
            Text("Captain America", style: IronManStyle().regular12Underline,),
            Text("Spiderman", style: IronManStyle().bold11Underline,),
            Text("Hulk", style: IronManStyle().bold12Italic,),
            Text("Thor", style: IronManStyle().regular11Italic,),
            Text("Others", style: IronManStyle().bold10Italic,),
          ],
        )
      ),
    );
  }
}
2
likes
140
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

chickenStyle is a package that can help developers to creating textstyle widget. just type one line bash code and chickenStyle will generate file, class and widget for you

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on chicken