Skip to content

fancy_containers: ^0.0.5

Latest
Compare
Choose a tag to compare
@adityathakurxd adityathakurxd released this 20 Mar 16:05
6315019
  • Fixed an issue with onTap causing null value.
  • title is now a required property.
  • The title is now centred if a subtitle is not provided.
  • An example app is added to check implementation.

Example

class HomeScreen extends StatelessWidget {
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
          child: FancyContainer(
        title: "Hello World",
        titleStyle: TextStyle(color: Colors.white),
      )),
    );
  }
}