animated_conditional_builder 0.0.5 copy "animated_conditional_builder: ^0.0.5" to clipboard
animated_conditional_builder: ^0.0.5 copied to clipboard

Animated version of Conditional Builder that gradually changes its values over a period of time.

This is package its purpose show UI elements according for conditional type and supports Animation and sound null safety.

Features #

  • Supported Animation
  • Supported show UI elements according for conditional type
  • Supported Sound null Safety

Getting started #

dependencies: animated_conditional_builder: ^0.0.5

Import this package #

import 'package:animated_conditional_builder/animated_conditional_builder.dart';

class ExampleOne extends StatelessWidget {  
  const FancyScreen({Key? key}) : super(key: key);  
  
  @override  
  Widget build(BuildContext context) {  
    bool _condition = true;
    return Scaffold(  
      body: Center(  
        child: AnimatedConditionalBuilder(
          condition: _condition , 
          builder: (BuildContext context) => Icon(Icons.add) ,
          fallback: (BuildContext context) => Icon(Icons.minimize)
        ),  
      ),  
    );  
  }  
}

class ExampleTow extends StatelessWidget {  
  const FancyScreen({Key? key}) : super(key: key);  
  
  @override  
  Widget build(BuildContext context) {  
    bool _condition = false;
    return Scaffold(  
      body: Center(  
        child: AnimatedConditionalBuilder(
          condition: _condition , 
          builder: (BuildContext context) => Icon(Icons.add) ,
          fallback: null
         ),  
      ),  
    );  
  }  
}
6
likes
120
pub points
72%
popularity

Publisher

unverified uploader

Animated version of Conditional Builder that gradually changes its values over a period of time.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on animated_conditional_builder