Giter VIP home page Giter VIP logo

animated-segmented-tab-control's People

Contributors

gsrocks-lanars avatar ivanlanars avatar sviatmaniuk avatar vizhan-lanars avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animated-segmented-tab-control's Issues

How to prevent reloading screens when Tab - Switch

When we are swapping between two tabs or by tapped, Every time widgets getting refreshed. How to handle this??

SafeArea(
child: Stack(
children: [
Padding(
padding: const EdgeInsets.only(top: 0),
child: TabBarView(
physics: const BouncingScrollPhysics(),
children: [
ActiveWidget(
items: []
),
PastWidget(
items: []
),
],
),
),
Padding(
padding: const EdgeInsets.all(16.0),
child: SegmentedTabControl(
radius: const Radius.circular(10),
backgroundColor: greyColorBorder,
indicatorColor: lightPrimaryColor,
tabTextColor: Colors.black45,
selectedTabTextColor: Colors.white,
squeezeIntensity: 2,
height: 45,
tabPadding: const EdgeInsets.symmetric(horizontal: 8),
textStyle: Theme.of(context).textTheme.bodyLarge,
tabs: [
SegmentTab(label: "Active"),
SegmentTab(label: "Pasive"),
],
),
),
],
),
)

not support web platform

Unsupported operation: Platform._operatingSystem
The relevant error-causing widget was: HomePage
its run in mobile but thrown exception when running on web

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.