skip to Main Content

Flutter: how to select animation direction based on value

I have this animated container: AnimatedContainer( width: ScreenSize.getScreenWidth(context), height: _selectAll ? 10 : bottomBarHeight, color: _selectAll ? Colors.red : Colors.green, duration: const Duration(seconds: 2), curve: Curves.fastLinearToSlowEaseIn, child: const FlutterLogo(size: 75), ), I want that when _selectAll is true, the container…

VIEW QUESTION

How to set Location Marker size depend on zoom in Flutter Map

I'm using flutter_map to display map on my flutter app. here is the code FlutterMap( mapController: mapController, options: MapOptions( interactiveFlags: InteractiveFlag.pinchZoom | InteractiveFlag.drag, center: LatLng(9.964706, 76.289714), zoom: 13.0, rotation: 0, ), children: [ TileLayer( urlTemplate: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', subdomains: const ['a', 'b',…

VIEW QUESTION
Back To Top
Search